Thomas Haller
31c0c66c0e
settings: drop redundant range check from NMSettingBridgePort::verify()
...
priv->path_cost and priv->priority can only be set as GObject properties,
which already does the same range check. Hence, the checks are never reached.
This also avoids a compiler warning:
libnm-core/nm-setting-bridge-port.c: In function ‘verify’:
libnm-core/nm-setting-bridge-port.c:132:22: error: comparison is always false due to limited range of data type [-Werror=type-limits]
if (priv->path_cost > BR_MAX_PATH_COST) {
^
2017-02-06 19:27:21 +01:00
..
2016-10-21 17:37:57 +02:00
2016-02-19 17:53:25 +01:00
2016-02-19 17:53:25 +01:00
2016-09-23 18:05:54 +02:00
2016-08-17 19:09:50 +02:00
2013-03-14 10:23:19 -05:00
2016-03-29 11:56:27 +02:00
2017-01-04 09:33:57 +01:00
2016-04-05 14:37:51 +02:00
2016-10-03 12:01:15 +02:00
2014-07-15 09:44:54 -04:00
2015-08-10 09:41:26 -04:00
2016-06-17 12:25:15 +02:00
2016-10-03 12:01:15 +02:00
2016-08-17 19:09:50 +02:00
2016-06-17 12:25:33 +02:00
2014-12-18 13:47:03 -05:00
2016-02-19 17:53:25 +01:00
2014-07-15 09:44:54 -04:00
2016-02-19 17:53:25 +01:00
2014-07-15 09:44:54 -04:00
2016-06-17 12:25:33 +02:00
2016-08-10 22:45:31 +02:00
2017-02-06 19:27:21 +01:00
2014-07-15 09:44:54 -04:00
2016-02-19 17:53:25 +01:00
2014-07-15 09:44:54 -04:00
2016-02-19 17:53:25 +01:00
2014-07-15 09:44:54 -04:00
2016-10-03 12:01:15 +02:00
2014-07-15 09:44:55 -04:00
2016-10-03 12:01:15 +02:00
2014-07-15 09:44:54 -04:00
2016-10-03 12:01:15 +02:00
2014-02-13 11:24:37 -05:00
2016-02-19 17:53:25 +01:00
2014-07-15 09:44:54 -04:00
2016-02-19 17:53:25 +01:00
2013-06-13 15:52:51 -03:00
2016-02-19 17:53:25 +01:00
2015-10-06 14:16:55 +02:00
2016-11-09 17:23:32 +01:00
2014-11-07 15:19:06 +01:00
2016-02-19 17:53:25 +01:00
2014-07-15 09:44:54 -04:00
2016-02-19 17:53:25 +01:00
2014-07-15 09:44:54 -04:00
2016-02-19 17:53:25 +01:00
2014-07-15 09:44:54 -04:00
2016-08-17 19:09:50 +02:00
2016-02-19 17:53:25 +01:00
2014-07-15 09:44:54 -04:00
2016-02-19 17:53:25 +01:00
2014-07-15 09:44:54 -04:00
2016-02-19 17:53:25 +01:00
2014-07-15 09:44:54 -04:00
2016-02-19 17:53:25 +01:00
2016-10-03 12:01:15 +02:00
2015-10-27 17:17:05 +01:00
2016-02-19 17:53:25 +01:00
2015-07-25 10:51:23 +02:00
2016-02-19 17:53:25 +01:00
2015-04-17 12:42:23 -04:00
2016-06-17 12:25:33 +02:00
2014-07-15 09:44:54 -04:00
2016-06-17 12:25:33 +02:00
2014-07-15 09:44:54 -04:00
2016-06-17 12:25:33 +02:00
2015-01-21 14:31:04 -06:00
2016-10-03 12:01:15 +02:00
2014-10-12 21:17:17 +02:00
2016-06-17 12:25:33 +02:00
2017-02-06 16:45:20 +01:00
2014-12-05 11:07:42 +01:00
2016-02-19 17:53:25 +01:00
2017-01-18 18:37:06 +01:00