Mwah, if -O then I get another warning (possibly uninitialized -- untrue but fixed)

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1589 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Rutger Hofman 16 years ago
parent 0c44282a7f
commit 899f07f7c3

@ -48,7 +48,7 @@ cmd_svf_run (urj_chain_t *chain, char *params[])
int print_progress = 0;
uint32_t ref_freq = 0;
urj_log_level_t old_log_level = urj_log_state.level;
int result;
int result = URJ_STATUS_OK;
num_params = urj_cmd_params (params);
if (num_params < 2)
@ -72,9 +72,7 @@ cmd_svf_run (urj_chain_t *chain, char *params[])
if ((SVF_FILE = fopen (params[1], "r")) != NULL)
{
if (urj_svf_run (chain, SVF_FILE, stop, ref_freq))
result = URJ_STATUS_OK;
else
if (! urj_svf_run (chain, SVF_FILE, stop, ref_freq))
result = URJ_STATUS_FAIL;
fclose (SVF_FILE);

Loading…
Cancel
Save