This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#12542 - Rockbox Utility warning on compiling
Attached to Project:
Rockbox
Opened by Jean-Louis Biasini (JeanLouisBiasini) - Tuesday, 17 January 2012, 15:43 GMT+2
Last edited by Dominik Riebeling (bluebrother) - Tuesday, 17 January 2012, 22:05 GMT+2
Opened by Jean-Louis Biasini (JeanLouisBiasini) - Tuesday, 17 January 2012, 15:43 GMT+2
Last edited by Dominik Riebeling (bluebrother) - Tuesday, 17 January 2012, 22:05 GMT+2
|
DetailsWhile compiling Rockbox Utility ones get the following error:
base/system.cpp: In static member function ‘static QMap<unsigned int, QString> System::listUsbDevices()’: base/system.cpp:249:9: warning: variable ‘res’ set but not used [-Wunused-but-set-variable] base/system.cpp:250:13: warning: variable ‘count’ set but not used [-Wunused-but-set-variable] count and res are just used to take the return values of libusb_init() and libusb_get_device_list but do not get used later... the following patch let those fonction being called without saving their return value in any variable. |
This task depends upon
Closed by Dominik Riebeling (bluebrother)
Tuesday, 17 January 2012, 22:05 GMT+2
Reason for closing: Fixed
Additional comments about closing: Thanks, but I've decided to check the actual values instead of ignoring them.
Tuesday, 17 January 2012, 22:05 GMT+2
Reason for closing: Fixed
Additional comments about closing: Thanks, but I've decided to check the actual values instead of ignoring them.