Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ede4c3a5 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[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: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 2e8c1e56
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ do { \
#define D_USBO 0x00
#define D_V4L2 0x0100
#else
#define PDEBUG(level, fmt, ...)
#define PDEBUG(level, fmt, ...) do {} while(0)
#endif

#define GSPCA_MAX_FRAMES 16	/* maximum number of video frame buffers */