* libltdl/ltdl.c (has_library_ext): Remove dead code.

Coverity report CID 561 against Open MPI via Jeff Squyres.
This commit is contained in:
Ralf Wildenhues 2007-08-30 18:18:31 +00:00
parent 208dd66070
commit 56e12a2db6
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-08-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/ltdl.c (has_library_ext): Remove dead code.
Coverity report CID 561 against Open MPI via Jeff Squyres.
2007-08-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/slist.c (slist_remove): When a matching item is found,

View File

@ -1479,11 +1479,9 @@ static int
has_library_ext (const char *filename)
{
char * ext = 0;
size_t len;
assert (filename);
len = LT_STRLEN (filename);
ext = strrchr (filename, '.');
if (ext && ((streq (ext, archive_ext))