for (uint i = 0; i < 32; i++)
{
- const uint opti_bit = 1 << i;
+ const uint opti_bit = 1u << i;
if (opti_type & opti_bit) log_info ("* %s", stroptitype (opti_bit));
}
*/
#pragma GCC diagnostic ignored "-Wunused-parameter"
-#pragma GCC diagnostic ignored "-Wunused-variable"
-#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#pragma GCC diagnostic ignored "-Wunused-function"
#include <rp_kernel_on_cpu.h>
{
AdapterInfo info = lpAdapterInfo[i];
- if ((info.strUDID == NULL) || (strlen (info.strUDID) < 1)) continue;
+ if (strlen (info.strUDID) < 1) continue;
#ifdef WIN
if (info.iVendorID != 1002) continue;