From 9b68d9892a125e00958ff019d5edcf4f6b409cf8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 14 Jun 2011 20:36:37 -0400 Subject: [PATCH] Remove a redundant NULL check --- gmodule/gmodule.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; -- 2.7.4