* src/search.c (search_init): Fix gcc complaints on certain versions
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4559
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
2013-01-02 Mike Frysinger <vapier@gentoo.org>
- * src/files.c: (cwd_tab_completion): Remove unnecessary variables
+ * src/files.c (cwd_tab_completion): Remove unnecessary variables
+ * src/search.c (search_init): Fix gcc complaints on certain versions
2013-01-02 Eitan Adler <lists@eitanadler.com>
* configure.ac: Remove unnecessary checks
int i = 0;
char *buf;
sc *s;
- void (*func)(void);
bool meta_key = FALSE, func_key = FALSE;
static char *backupstring = NULL;
/* The search string we'll be using. */
statusbar(_("Cancelled"));
return -1;
} else {
+ void (*func)(void);
+
for (s = sclist; s != NULL; s = s->next)
if ((s->menu & currmenu) && i == s->seq) {
func = s->scfunc;