Remove a redundant NULL check
authorMatthias Clasen <mclasen@redhat.com>
Wed, 15 Jun 2011 00:36:37 +0000 (20:36 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 15 Jun 2011 01:06:17 +0000 (21:06 -0400)
gmodule/gmodule.c

index 3e076ec..5216138 100644 (file)
@@ -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;