From a68c19df6c884af6dfbc198bde75878ef741faf9 Mon Sep 17 00:00:00 2001 From: artix Date: Mon, 4 Nov 2019 18:12:03 +0100 Subject: RM_CreateStringFromLongDouble: use new ld2string 'mode' type --- tests/modules/misc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/modules/misc.c') diff --git a/tests/modules/misc.c b/tests/modules/misc.c index 52a4c4d41..ba0710538 100644 --- a/tests/modules/misc.c +++ b/tests/modules/misc.c @@ -6,6 +6,8 @@ #include #include +#define UNUSED(x) (void)(x) + int test_call_generic(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { if (argc<2) { @@ -41,6 +43,8 @@ int test_call_info(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) } int test_ld_conv(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { + UNUSED(argv); + UNUSED(argc); long double ld = 0.00000000000000001L; const char *ldstr = "0.00000000000000001"; RedisModuleString *s1 = RedisModule_CreateStringFromLongDouble(ctx, ld, 1); -- cgit v1.2.1