From 4e4052ccdf00bc7966095d56c41c4bae98671ecb Mon Sep 17 00:00:00 2001 From: Pierre-Marc Fournier Date: Tue, 25 May 2010 10:12:29 -0400 Subject: [PATCH] hook.c: add missing braces after if() reported by Alexandre Montplaisir --- lttv/lttv/hook.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.34.1