aboutsummaryrefslogtreecommitdiff
path: root/libqcdm/src/commands.c
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2013-04-24 17:37:55 -0700
committerAleksander Morgado <aleksander@lanedo.com>2013-04-25 08:46:00 +0200
commit1f99eaf80e6c3124c871c416638d50c57199535e (patch)
tree214604617851069fff60605eb57ec1396c4f3974 /libqcdm/src/commands.c
parentd1708f243dfdb2fe6a478be6e616f70fca50b254 (diff)
qcdm: remove unnecessary NULL check on free()
This patch removes a few unnecessary NULL checks on free(), which also fixes the following clang warnings: result.c:59:27: error: if statement has empty body [-Werror,-Wempty-body] if (v->u.u8_array); ^ result.c:59:27: note: put the semicolon on a separate line to silence this warning result.c:62:28: error: if statement has empty body [-Werror,-Wempty-body] if (v->u.u16_array); ^ result.c:62:28: note: put the semicolon on a separate line to silence this warning Bug reported on https://code.google.com/p/chromium/issues/detail?id=219280 Patched by Yunlian Jiang <yunlian@chromium.org>
Diffstat (limited to 'libqcdm/src/commands.c')
0 files changed, 0 insertions, 0 deletions