diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-27 13:43:54 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-28 05:38:34 -0400 |
commit | ede4c3a5a6c0d4490e39a1695570c7a6e9cf7b33 (patch) | |
tree | bb00a56479752e6d71baf9d04900f7c8bf2a4e4d /drivers/media/usb/gspca | |
parent | 2e8c1e569392c84a926b9bf94176c5d7ba5d3e50 (diff) |
[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>
Diffstat (limited to 'drivers/media/usb/gspca')
-rw-r--r-- | drivers/media/usb/gspca/gspca.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/gspca/gspca.h b/drivers/media/usb/gspca/gspca.h index e3eab82cd4e5..352317d7acdb 100644 --- a/drivers/media/usb/gspca/gspca.h +++ b/drivers/media/usb/gspca/gspca.h | |||
@@ -32,7 +32,7 @@ do { \ | |||
32 | #define D_USBO 0x00 | 32 | #define D_USBO 0x00 |
33 | #define D_V4L2 0x0100 | 33 | #define D_V4L2 0x0100 |
34 | #else | 34 | #else |
35 | #define PDEBUG(level, fmt, ...) | 35 | #define PDEBUG(level, fmt, ...) do {} while(0) |
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | #define GSPCA_MAX_FRAMES 16 /* maximum number of video frame buffers */ | 38 | #define GSPCA_MAX_FRAMES 16 /* maximum number of video frame buffers */ |