Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
moticless committed Apr 15, 2024
1 parent e26ed8b commit f141073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ext/handlersToJson.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ static RdbRes toJsonNewRdb(RdbParser *p, void *userData, int rdbVersion) {
static RdbRes toJsonEndRdb(RdbParser *p, void *userData) {
RdbxToJson *ctx = userData;

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

0 comments on commit f141073

Please sign in to comment.