summaryrefslogtreecommitdiff
path: root/gmodule
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-06-14 20:36:37 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-06-14 21:06:17 -0400
commit9b68d9892a125e00958ff019d5edcf4f6b409cf8 (patch)
treeb9cb63449075d4fcdb0f81dedc2d890205fe2bdc /gmodule
parent28008138c3ef88ad7f44055580f2b19796b9c29f (diff)
Remove a redundant NULL check
Diffstat (limited to 'gmodule')
-rw-r--r--gmodule/gmodule.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c
index 3e076ec86..52161382c 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;