Coverity #1053: Nuke a dead variable.

This commit is contained in:
Adam Jackson 2006-03-15 15:34:57 +00:00
commit 1e5c0842af
2 changed files with 5 additions and 2 deletions

View file

@ -411,7 +411,6 @@ FindModule(const char *module, const char *dir, const char **subdirlist,
char *name = NULL;
struct stat stat_buf;
int dirlen;
char *fp;
const char **subdirs = NULL;
const char **s;
#ifdef DLOPEN_HACK
@ -445,7 +444,6 @@ FindModule(const char *module, const char *dir, const char **subdirlist,
if (buf[dirlen - 1] != '/') {
buf[dirlen++] = '/';
fp++;
}
for (i = 0; i < 3 && !name; i++) {