diff options
author | rbuj <[email protected]> | 2021-01-21 19:36:58 +0100 |
---|---|---|
committer | Luke from DC <[email protected]> | 2021-02-01 03:45:51 +0000 |
commit | 5c5bc168873c840f64545527cd245b2e87ada488 (patch) | |
tree | ad0e563b9cf52e45b53f9206385c7cd26f0ff9df /plugins/common/msd-input-helper.c | |
parent | 2b43bc1c44e26d1ba9c6e25968c6284d448638f4 (diff) | |
download | mate-settings-daemon-5c5bc168873c840f64545527cd245b2e87ada488.tar.bz2 mate-settings-daemon-5c5bc168873c840f64545527cd245b2e87ada488.tar.xz |
cppcheck warning: known condition is always true
Diffstat (limited to 'plugins/common/msd-input-helper.c')
-rw-r--r-- | plugins/common/msd-input-helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/common/msd-input-helper.c b/plugins/common/msd-input-helper.c index 5434014..641c51c 100644 --- a/plugins/common/msd-input-helper.c +++ b/plugins/common/msd-input-helper.c @@ -120,8 +120,8 @@ touchpad_is_present (void) break; } } - if (device_info != NULL) - XFreeDeviceList (device_info); + + XFreeDeviceList (device_info); return retval; } |