X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=obt%2Fparse.c;h=a792188ff9dc07e48d92b12a1a8bc2f3b28fbab2;hb=fa0ae17adbc8f73b707c33836d37841e81b9303a;hp=d181b67920ec4894e7a2f4413808a3d5bdbac6dd;hpb=b01dd0b20fedb27681ceda53deb8c7f2f83eabc3;p=chaz%2Fopenbox 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; }