3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-04-18 09:37:54 +02:00
Denis Kenzior cfd191a803 eap: Silence uninitialized var warning
src/eap.c: In function 'eap_rx_packet':
src/eap.c:419:50: error: 'vendor_type' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  419 |  (type == EAP_TYPE_EXPANDED && vendor_id == (id) && vendor_type == (t))
      |                                                  ^~
src/eap.c:430:11: note: 'vendor_type' was declared here
  430 |  uint32_t vendor_type;

It isn't clear why GCC complains about vendor_type, but not vendor_id.
But in all cases if type == EAP_TYPE_EXPANDED, then vendor_type and
vendor_id are set.  Silence this spurious warning.
2021-11-08 15:12:25 -06:00
..
2021-04-30 20:07:19 -05:00
2020-07-09 09:58:21 -05:00
2021-03-12 13:49:23 -06:00
2021-09-28 10:51:33 -05:00
2021-09-23 11:52:56 -05:00
2021-09-23 11:52:56 -05:00
2020-08-13 13:43:31 -05:00
2021-07-28 10:03:27 -05:00
2021-04-20 09:37:48 -05:00
2021-02-08 15:56:30 -06:00
2021-11-08 15:12:25 -06:00
2021-10-08 12:31:36 -05:00
2021-09-28 17:26:05 -05:00
2021-08-03 16:29:47 -05:00
2019-05-19 13:07:13 -05:00
2021-09-28 16:46:48 -05:00
2021-09-28 16:46:48 -05:00
2017-11-28 13:20:33 -06:00
2021-09-28 10:51:25 -05:00
2021-05-07 08:45:20 -05:00
2021-09-20 10:32:51 -05:00
2021-08-04 10:41:19 -05:00
2021-09-08 16:47:36 -05:00
2021-08-04 23:08:34 -05:00
2021-09-17 17:59:52 -05:00
2019-07-15 14:06:26 -05:00
2021-09-21 15:21:39 -05:00
2020-09-16 14:31:07 -05:00
2021-10-06 15:59:15 -05:00
2020-04-10 06:31:19 -05:00
2020-09-14 11:39:25 -05:00
2021-08-25 13:05:05 -05:00
2021-08-12 09:59:17 -05:00
2021-08-12 09:59:17 -05:00
2021-11-03 17:44:00 -05:00
2021-11-03 17:44:00 -05:00
2021-03-12 13:49:23 -06:00
2021-10-19 17:04:39 -05:00
2021-10-19 17:04:39 -05:00
2021-09-03 14:30:44 -05:00
2020-01-17 12:50:23 -06:00
2021-06-04 11:53:25 -05:00