Parent: 76f3c751ed11e05271a459c349603142821a992d
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-01-06 21:20:31
Tree: a1b4a0198522328e150973d300cb8aca9a177a8a
avrcp: Remove unnecessary "if (...)" There is already a "if (type != 0x03 && type != 0x02)" check earlier on the code, so a plain "if (...) else ..." is enough. Fixes clang error: profiles/audio/avrcp.c:2211:12: error: variable 'item' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
Diffstat
| M | profiles/audio/avrcp.c | | | 2 | +- |
1 files changed, 1 insertions(+), 1 deletions(-)