[media] gscpa: get rid of warning: suggest braces around empty body
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 27 Oct 2012 17:43:54 +0000 (14:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 28 Oct 2012 09:38:34 +0000 (07:38 -0200)
commitede4c3a5a6c0d4490e39a1695570c7a6e9cf7b33
treebb00a56479752e6d71baf9d04900f7c8bf2a4e4d
parent2e8c1e569392c84a926b9bf94176c5d7ba5d3e50
[media] gscpa: get rid of warning: suggest braces around empty body

There are hundreds of messages like this one, when GSPCA debug is
disabled, when compiled with W=1:
drivers/media/usb/gspca/spca500.c:725:46: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
Get rid of it, especially as it might actually cause troubles on
some places.

Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/gspca/gspca.h