3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-06-08 06:27:23 +02:00
James Prestwood 0a8e646231 eap: initialize vendor_id/vendor_type to zero
This fixes a compiler warning, specifically on ARM/GCC 12.2.0

src/eap.c: In function ‘eap_rx_packet’:
src/eap.c:419:57: error: ‘vendor_type’ may be used uninitialized [-Werror=maybe-uninitialized]
  419 |         (type == EAP_TYPE_EXPANDED && vendor_id == (id) && vendor_type == (t))
      |                                                         ^~
src/eap.c:429:18: note: ‘vendor_type’ was declared here
  429 |         uint32_t vendor_type;
      |                  ^~~~~~~~~~~
src/eap.c:419:49: error: ‘vendor_id’ may be used uninitialized [-Werror=maybe-uninitialized]
  419 |         (type == EAP_TYPE_EXPANDED && vendor_id == (id) && vendor_type == (t))
      |                                                 ^~
src/eap.c:428:18: note: ‘vendor_id’ was declared here
  428 |         uint32_t vendor_id;
      |                  ^~~~~~~~~
2025-05-02 12:14:37 -05:00
..
2024-11-07 19:11:59 +01:00
2020-07-09 09:58:21 -05:00
2024-11-07 19:11:59 +01:00
2021-09-28 10:51:33 -05:00
2022-01-11 11:07:05 -06:00
2024-11-20 11:36:20 -06:00
2024-09-03 10:18:56 -05:00
2024-09-03 10:18:56 -05:00
2024-11-25 11:47:07 -06:00
2022-11-17 10:04:56 -06:00
2024-08-19 11:43:24 -05:00
2024-03-04 13:48:08 -06:00
2021-09-28 16:46:48 -05:00
2024-10-24 09:09:38 -05:00
2023-12-13 10:12:41 -06:00
2023-12-13 10:12:41 -06:00
2017-11-28 13:20:33 -06:00
2025-04-01 11:14:40 -05:00
2023-02-27 10:26:17 -06:00
2024-07-12 11:58:51 -05:00
2021-09-20 10:32:51 -05:00
2021-11-11 14:27:33 -06:00
2024-11-07 19:11:59 +01:00
2024-11-07 19:11:59 +01:00
2019-07-15 14:06:26 -05:00
2024-11-07 19:11:59 +01:00
2020-09-16 14:31:07 -05:00
2020-04-10 06:31:19 -05:00
2022-05-20 10:03:42 -05:00
2024-11-07 19:11:59 +01:00
2022-01-11 11:07:05 -06:00
2024-07-24 15:25:28 -05:00
2021-11-03 17:44:00 -05:00
2021-11-03 17:44:00 -05:00
2024-11-20 11:46:43 -06:00
2024-11-20 11:46:43 -06:00
2024-05-29 17:52:23 -05:00
2024-05-29 17:52:23 -05:00
2025-02-13 09:26:17 -06:00