From: Peter Rosin Date: Wed, 30 Dec 2009 02:18:19 +0000 (+0100) Subject: * libltdl/ltdl.c (lt_dlerror): Remove meaningless conditional. X-Git-Tag: v2.2.7b~34 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=78f270a9ab4b56dc9c09020282e77a3b861099a1;p=thirdparty%2Flibtool.git * libltdl/ltdl.c (lt_dlerror): Remove meaningless conditional. Signed-off-by: Peter Rosin --- diff --git a/ChangeLog b/ChangeLog index 01bf201a3..6c07b7f7a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-12-30 Peter Rosin + + * libltdl/ltdl.c (lt_dlerror): Remove meaningless conditional. + 2009-12-29 Peter Rosin * libltdl/ltdl.c (file_not_found): Fix typos in code comment. diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index e4569b02e..1fe272fe8 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -2066,7 +2066,7 @@ lt_dlerror (void) LT__GETERROR (error); LT__SETERRORSTR (0); - return error ? error : NULL; + return error; } static int