From 78f270a9ab4b56dc9c09020282e77a3b861099a1 Mon Sep 17 00:00:00 2001 From: Peter Rosin Date: Wed, 30 Dec 2009 03:18:19 +0100 Subject: [PATCH] * libltdl/ltdl.c (lt_dlerror): Remove meaningless conditional. Signed-off-by: Peter Rosin --- ChangeLog | 4 ++++ libltdl/ltdl.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.47.3