Skip to content

Commit 85afb96

Browse files
committed
fix macro
1 parent 56b1fbd commit 85afb96

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

rmutil/util.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
if (RedisModule_CreateCommand(ctx, cmd, f, mode, 1, 1, 1) == REDISMODULE_ERR) \
1919
return REDISMODULE_ERR;
2020

21-
#define RMUtil_RegisterReadCmd(ctx, cmd, f) \
22-
__rmutil_register_cmd(ctx, cmd, f, "readonly") \
23-
}
21+
#define RMUtil_RegisterReadCmd(ctx, cmd, f) __rmutil_register_cmd(ctx, cmd, f, "readonly")
2422

2523
#define RMUtil_RegisterWriteCmd(ctx, cmd, f) __rmutil_register_cmd(ctx, cmd, f, "write")
2624

0 commit comments

Comments
 (0)