From eed31a5029ea44ee094894194ae97b767e289372 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 12 Aug 2010 21:17:01 -0700 Subject: [PATCH] Move unused function warning to gcc-unused topic branch See commit 123b6b2f4955cb069844d55f06a00bcb4a4f3ac7. --- cmd/ztest/ztest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c index 30442ac26d..f15a749428 100644 --- a/cmd/ztest/ztest.c +++ b/cmd/ztest/ztest.c @@ -1039,6 +1039,7 @@ ztest_pattern_set(void *buf, uint64_t size, uint64_t value) *ip++ = value; } +#ifndef NDEBUG static boolean_t ztest_pattern_match(void *buf, uint64_t size, uint64_t value) { @@ -1051,6 +1052,7 @@ ztest_pattern_match(void *buf, uint64_t size, uint64_t value) return (diff == 0); } +#endif static void ztest_bt_generate(ztest_block_tag_t *bt, objset_t *os, uint64_t object,