summaryrefslogtreecommitdiff
path: root/obt/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'obt/parse.c')
-rw-r--r--obt/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/obt/parse.c b/obt/parse.c
index d181b679..a792188f 100644
--- a/obt/parse.c
+++ b/obt/parse.c
@@ -99,7 +99,7 @@ void obt_parse_register(ObtParseInst *i, const gchar *tag,
{
struct Callback *c;
- if ((c = g_hash_table_lookup(i->callbacks, tag))) {
+ if (g_hash_table_lookup(i->callbacks, tag)) {
g_error("Tag '%s' already registered", tag);
return;
}