Coverity #1053: Nuke a dead variable.

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

View File

@ -1,3 +1,8 @@
2006-03-15 Adam Jackson <ajax@freedesktop.org>
* hw/xfree86/loader/loadmod.c:
Coverity #1053: Nuke a dead variable.
2006-03-15 Benjamin Herrenschmidt <benh@kernel.crashing.org>
* hw/xfree86/dri/dri.c: (DRIExtensionInit):

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++) {