mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
* libltdl/ltdl.c (has_library_ext): Remove dead code.
Coverity report CID 561 against Open MPI via Jeff Squyres.
This commit is contained in:
parent
208dd66070
commit
56e12a2db6
@ -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,
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user