On Thu, 17 Jan 2013, David Herrmann wrote: > > 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] > > Thanks! > > Signed-off-by: David Herrmann <dh.herrmann@xxxxxxxxxxxxxx> Applied, thanks! -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html