]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.c (lt_dlerror): Remove meaningless conditional.
authorPeter Rosin <peda@lysator.liu.se>
Wed, 30 Dec 2009 02:18:19 +0000 (03:18 +0100)
committerPeter Rosin <peda@lysator.liu.se>
Wed, 30 Dec 2009 02:18:19 +0000 (03:18 +0100)
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
ChangeLog
libltdl/ltdl.c

index 01bf201a32f3cff86aaa2b5985b6fb48c3619d70..6c07b7f7a9bc70818eaa505e5c57d2f0ded57f57 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-12-30  Peter Rosin  <peda@lysator.liu.se>
+
+       * libltdl/ltdl.c (lt_dlerror): Remove meaningless conditional.
+
 2009-12-29  Peter Rosin  <peda@lysator.liu.se>
 
        * libltdl/ltdl.c (file_not_found): Fix typos in code comment.
index e4569b02e0deb11a6468627d982ae22b5c18a181..1fe272fe8469b5458cd08620a9e299e16c12fb57 100644 (file)
@@ -2066,7 +2066,7 @@ lt_dlerror (void)
   LT__GETERROR (error);
   LT__SETERRORSTR (0);
 
-  return error ? error : NULL;
+  return error;
 }
 
 static int