From: Matthias Clasen Date: Wed, 15 Jun 2011 00:36:37 +0000 (-0400) Subject: Remove a redundant NULL check X-Git-Tag: 2.29.10~81 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b68d9892a125e00958ff019d5edcf4f6b409cf8;p=platform%2Fupstream%2Fglib.git Remove a redundant NULL check --- diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c index 3e076ec..5216138 100644 --- a/gmodule/gmodule.c +++ b/gmodule/gmodule.c @@ -493,9 +493,8 @@ g_module_open (const gchar *file_name, { gchar *error; - error = g_strconcat ("GModule (", - file_name ? file_name : "NULL", - ") initialization check failed: ", + error = g_strconcat ("GModule (", file_name, ") ", + "initialization check failed: ", check_failed, NULL); g_module_close (module); module = NULL;