Commit: bf672a2808513c94a59bc891277a6e2d50aaee08
Parent: 9287efd2beb82eb40e55c86522a9bdfa54e55053
Author: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-08-13 15:30:04
Tree: 23da13dbd67fc5bb984dfea7e243c29811f44179

monitor: Fix use of uninitialized value Fixes clang warnings below: ... CC monitor/avctp.o monitor/avctp.c:600:2: warning: Function call argument is an uninitialized value print_indent(indent, ctrl_pdu_data_color, "AVRCP: ", pdu2str(pduid), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ monitor/display.h:47:2: note: expanded from macro 'print_indent' printf("%*c%s%s%s%s" fmt "%s\n", (indent), ' ', \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ...

Diffstat

M monitor/avctp.c | 6 ++- - - -

1 files changed, 2 insertions(+), 4 deletions(-)

View Full Diff | Patch