projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4d895b
)
Silent up coverity scan.
author
wwp
<wwp@free.fr>
Fri, 16 Dec 2016 08:15:45 +0000
(09:15 +0100)
committer
wwp
<wwp@free.fr>
Fri, 16 Dec 2016 08:15:45 +0000
(09:15 +0100)
src/toolbar.c
patch
|
blob
|
history
diff --git
a/src/toolbar.c
b/src/toolbar.c
index 1f36f71782023d3c53465b6cb0503d286f94ff99..7b7aaaecb81e7357360a2f2d9d6271a0b0f2f0f6 100644
(file)
--- a/
src/toolbar.c
+++ b/
src/toolbar.c
@@
-409,6
+409,8
@@
static void toolbar_parse_item(XMLFile *file, ToolbarType source, gboolean *rewr
gchar *name, *value;
ToolbarItem *item = NULL;
+ g_return_if_fail(rewrite != NULL);
+
attr = xml_get_current_tag_attr(file);
item = g_new0(ToolbarItem, 1);
while( attr ) {