* src/files.c: (cwd_tab_completion): Remove unnecessary variables
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4558
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
+2013-01-02 Mike Frysinger <vapier@gentoo.org>
+ * src/files.c: (cwd_tab_completion): Remove unnecessary variables
+
2013-01-02 Eitan Adler <lists@eitanadler.com>
* configure.ac: Remove unnecessary checks
* src/nano.h, NEWS: Fix redundant wording
*num_matches, size_t buf_len)
{
char *dirname = mallocstrcpy(NULL, buf), *filename;
-#ifndef DISABLE_OPERATINGDIR
- size_t dirnamelen;
-#endif
size_t filenamelen;
char **matches = NULL;
DIR *dir;
return NULL;
}
-#ifndef DISABLE_OPERATINGDIR
- dirnamelen = strlen(dirname);
-#endif
filenamelen = strlen(filename);
while ((nextdir = readdir(dir)) != NULL) {