OSDN Git Service

Fix warning "suggest braces around empty body in an 'if' statement"
authorMike J. Chen <mjchen@google.com>
Fri, 31 Jan 2014 23:25:12 +0000 (15:25 -0800)
committerMike J. Chen <mjchen@google.com>
Sat, 1 Feb 2014 02:51:42 +0000 (18:51 -0800)
commitdbdc69f4aed8a4eb3af31982c4722b10ee774740
tree046cc84c01d74cd947c8f5030437ea0f4faf344f
parent9603e2ed2ed73e1cf9a5c95df8fdfb936e835751
Fix warning "suggest braces around empty body in an 'if' statement"

The body of an if statement could become empty if the macro body
is NULL and cause the if to apply to the next line instead.

Change-Id: I0bea6a46f29bc2c4dfc6e1fa13dd35b094310294
Signed-off-by: Mike J. Chen <mjchen@google.com>
stack/avdt/avdt_ccb.c
stack/avdt/avdt_scb.c