Skip to content

Commit

Permalink
WIP: Fix uninitialized variable in makeprof
Browse files Browse the repository at this point in the history
  • Loading branch information
BatchDrake committed Nov 4, 2024
1 parent 63d5b29 commit bf1d040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cmd/makeprof.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ suscli_makeprof_cb(const hashlist_t *params)
}
}

SU_TRY(suscan_config_context_lookup("sources"));
SU_TRY(cfgctx = suscan_config_context_lookup("sources"));

for (i = 0; i < ctx.profile_count; ++i) {
SU_TRY(suscan_source_config_register(ctx.profile_list[i]));
Expand Down

0 comments on commit bf1d040

Please sign in to comment.