From: Simon Que Date: Thu, 17 Jan 2013 21:02:52 +0000 (-0800) Subject: HID: Fix uninitialized variable "size" in hid-wiimote-debug X-Git-Tag: v3.9-rc1~112^2~1^5~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b77a989acca3fb4d09c2d8c3749499c663f5ab9f;p=pandora-kernel.git HID: Fix uninitialized variable "size" in hid-wiimote-debug This variable is initialized conditionally, based on whether a wiimote call succeeds. However, the logic is not obvious to the compiler so it throws a warning. Eliminate the warning by initializing "size" to 0. The warning is: files/drivers/hid/hid-wiimote-debug.c:69:18: warning: 'size' may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Simon Que Signed-off-by: David Herrmann Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed