Commit 68d22ecf authored by Peter Hutterer's avatar Peter Hutterer

Silence two compiler warnings

Potentially uninitialized, false positive in both cases.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 7d0ff395
......@@ -111,7 +111,10 @@ libevdev_log_func(const struct libevdev *dev,
switch(priority) {
case LIBEVDEV_LOG_ERROR: verbosity = 0; break;
case LIBEVDEV_LOG_INFO: verbosity = 4; break;
case LIBEVDEV_LOG_DEBUG: verbosity = 10; break;
case LIBEVDEV_LOG_DEBUG:
default:
verbosity = 10;
break;
}
LogVMessageVerbSigSafe(X_NOTICE, verbosity, format, args);
......
......@@ -129,6 +129,7 @@ InitTypedAtom(DeviceIntPtr dev, char *name, Atom type, int format, int nvalues,
converted = val_16;
break;
case 32:
default:
converted = val_32;
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment