summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2014-06-22 17:32:38 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2014-06-22 17:32:38 +0100
commit3eae031819ca35e93fd682c0246b7ca57085abfe (patch)
tree0fb62bb19ad176cae163544fe457310c9562428c
parent77680e7f84a6cb39ed7719849a89a9a23ae1268e (diff)
downloadlibgdata-3eae031819ca35e93fd682c0246b7ca57085abfe.tar.gz
freebase: Remove a redundant comparison with zero
Unsigned values can never be less than zero.
-rw-r--r--gdata/services/freebase/gdata-freebase-search-query.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdata/services/freebase/gdata-freebase-search-query.c b/gdata/services/freebase/gdata-freebase-search-query.c
index de6bf599..1f3b9bba 100644
--- a/gdata/services/freebase/gdata-freebase-search-query.c
+++ b/gdata/services/freebase/gdata-freebase-search-query.c
@@ -225,8 +225,8 @@ build_filter_string (FilterNode *node,
const gchar *type_str[] = { "all", "any", "not" };
guint i;
- g_assert (node->container.filter_type >=0 &&
- node->container.filter_type < G_N_ELEMENTS (type_str));
+ g_assert (/* node->container.filter_type >= 0 && */
+ node->container.filter_type < G_N_ELEMENTS (type_str));
g_string_append_printf (str, "(%s", type_str[node->container.type]);