mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 19:10:43 -05:00
core: remove tautological condition
unsigned number is always greater than 0 https://bugzilla.gnome.org/show_bug.cgi?id=720818
This commit is contained in:
parent
d6396cf2c4
commit
66fc32ee14
@ -111,8 +111,7 @@ make_output_name (drmModeConnector *connector)
|
||||
};
|
||||
const char *connector_type_name;
|
||||
|
||||
if (connector->connector_type >= 0 &&
|
||||
connector->connector_type < G_N_ELEMENTS (connector_type_names))
|
||||
if (connector->connector_type < G_N_ELEMENTS (connector_type_names))
|
||||
connector_type_name = connector_type_names[connector->connector_type];
|
||||
else
|
||||
connector_type_name = "unknown";
|
||||
|
Loading…
Reference in New Issue
Block a user