libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Remove meaningless conditional op from lt_dlerror.


From: Peter Rosin
Subject: Remove meaningless conditional op from lt_dlerror.
Date: Wed, 30 Dec 2009 03:25:10 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Hi!

I'm about to push this too as obvious, I hope I'm not getting too bold...

Cheers,
Peter

        * libltdl/ltdl.c (lt_dlerror): Remove meaningless conditional.

diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c
index e4569b0..1fe272f 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]