From: Pierre-Marc Fournier Date: Tue, 25 May 2010 14:12:29 +0000 (-0400) Subject: hook.c: add missing braces after if() X-Git-Tag: 0.12.32~6 X-Git-Url: http://git.liburcu.org/?p=lttv.git;a=commitdiff_plain;h=4e4052ccdf00bc7966095d56c41c4bae98671ecb hook.c: add missing braces after if() reported by Alexandre Montplaisir --- diff --git a/lttv/lttv/hook.c b/lttv/lttv/hook.c index d6e30142..ae88fdeb 100644 --- a/lttv/lttv/hook.c +++ b/lttv/lttv/hook.c @@ -500,9 +500,10 @@ static LttvHooksByIdChannel *lttv_hooks_by_id_channel_find_channel( for (i = 0; i < h->array->len; i++) { hid = &g_array_index(h->array, LttvHooksByIdChannel, i); - if (hid->channel == channel) + if (hid->channel == channel) { found = 1; break; + } } if (!found) { g_array_set_size(h->array, h->array->len + 1);