Warning fix: may be used uninitialized

cmd.c:536: ‘c’ may be used uninitialized in this function
    At the real position ‘c’ shouldn't be used

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
This commit is contained in:
Mikhail S. Pobolovets 2009-05-08 13:38:15 +03:00 committed by Slava Zanko
parent 8f7d6de326
commit a91e5be8b7

View File

@ -495,7 +495,6 @@ select_unselect_cmd (const char *title, const char *history_name, int cmd)
{ {
char *reg_exp, *reg_exp_t, *srch_regexp; char *reg_exp, *reg_exp_t, *srch_regexp;
int i; int i;
int c;
int dirflag = 0; int dirflag = 0;
reg_exp = input_dialog (title, "", history_name, easy_patterns ? "*" : "."); reg_exp = input_dialog (title, "", history_name, easy_patterns ? "*" : ".");
@ -533,9 +532,7 @@ select_unselect_cmd (const char *title, const char *history_name, int cmd)
continue; continue;
} }
if (c) { do_file_mark (current_panel, i, cmd);
do_file_mark (current_panel, i, cmd);
}
} }
g_free(srch_regexp); g_free(srch_regexp);
g_free (reg_exp); g_free (reg_exp);