projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2800813
)
Remove a redundant NULL check
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 15 Jun 2011 00:36:37 +0000
(20:36 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 15 Jun 2011 01:06:17 +0000
(21:06 -0400)
gmodule/gmodule.c
patch
|
blob
|
history
diff --git
a/gmodule/gmodule.c
b/gmodule/gmodule.c
index
3e076ec
..
5216138
100644
(file)
--- 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;