Skip to content

Commit f141073

Browse files
committed
fix compilation
1 parent e26ed8b commit f141073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ext/handlersToJson.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ static RdbRes toJsonNewRdb(RdbParser *p, void *userData, int rdbVersion) {
324324
static RdbRes toJsonEndRdb(RdbParser *p, void *userData) {
325325
RdbxToJson *ctx = userData;
326326

327-
if ((ctx->state == R2J_IDLE)) {
327+
if (ctx->state == R2J_IDLE) {
328328
RDB_log(p, RDB_LOG_WRN, "RDB is empty.");
329329
} else if (ctx->state == R2J_AUX_FIELDS || ctx->state == R2J_FUNCTIONS) {
330330
fprintf(ctx->outfile, "\n},\n");

0 commit comments

Comments
 (0)