summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-node.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-03-03 09:49:13 +0000
committerRichard Hughes <richard@hughsie.com>2016-03-03 09:49:13 +0000
commitb7fdc2d43825fd17a3e1ccc7d3d6436a149d8d83 (patch)
treef0600984780a973ca432ccf42446b0bc51a19dc6 /libappstream-glib/as-node.c
parent42c7ec12126f48287176c0e269d3c3d323d50871 (diff)
downloadappstream-glib-b7fdc2d43825fd17a3e1ccc7d3d6436a149d8d83.tar.gz
trivial: Fix FALSE/NULL confusion spotted with GCC6
Diffstat (limited to 'libappstream-glib/as-node.c')
-rw-r--r--libappstream-glib/as-node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-node.c b/libappstream-glib/as-node.c
index 0666f8c..1941c98 100644
--- a/libappstream-glib/as-node.c
+++ b/libappstream-glib/as-node.c
@@ -696,7 +696,7 @@ as_node_from_xml (const gchar *data,
as_node_passthrough_cb,
NULL };
- g_return_val_if_fail (data != NULL, FALSE);
+ g_return_val_if_fail (data != NULL, NULL);
root = as_node_new ();
helper.flags = flags;