Coverity #1053: Nuke a dead variable.
This commit is contained in:
parent
7314d16cde
commit
1e5c0842af
|
@ -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):
|
||||
|
|
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue