Victor Erminpour
c4416f5c2e
net: mpls: Fix GCC 12 warning
...
When building with automatic stack variable initialization, GCC 12
complains about variables defined outside of switch case statements.
Move the variable outside the switch, which silences the warning:
./net/mpls/af_mpls.c:1624:21: error: statement will never be executed [-Werror=switch-unreachable]
1624 | int err;
| ^~~
Signed-off-by: Victor Erminpour <victor.erminpour@oracle.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2022-02-10 15:29:39 +00:00
..
2021-07-22 16:19:03 +02:00
2022-01-18 10:05:48 +02:00
2021-11-19 11:23:23 +00:00
2022-02-09 13:33:39 +00:00
2021-07-23 14:20:25 +01:00
2022-01-22 08:33:37 +02:00
2022-02-09 13:30:07 +00:00
2022-01-05 14:36:10 -08:00
2022-01-22 08:33:37 +02:00
2021-11-01 14:10:00 -07:00
2021-06-25 13:13:50 +02:00
2022-01-27 18:53:02 -08:00
2021-12-31 14:35:40 +00:00
2022-02-09 08:47:47 +01:00
2022-01-20 13:46:20 +02:00
2022-02-10 15:11:51 +00:00
2021-06-01 17:01:33 -07:00
2021-11-23 20:16:22 -08:00
2021-12-31 14:35:40 +00:00
2021-01-27 17:04:12 -08:00
2022-02-09 13:21:39 +00:00
2021-11-24 17:21:42 -08:00
2022-01-06 12:33:35 +00:00
2021-11-29 12:12:36 +00:00
2022-01-27 08:20:47 +01:00
2021-01-27 17:04:12 -08:00
2022-02-08 20:49:52 -08:00
2022-02-08 20:49:52 -08:00
2021-12-29 08:48:14 -08:00
2021-12-29 08:48:14 -08:00
2021-05-26 07:03:39 +02:00
2021-12-10 06:38:27 -08:00
2021-03-28 17:56:55 -07:00
2021-06-08 16:31:25 -07:00
2021-12-10 19:43:00 -08:00
2022-01-05 14:36:10 -08:00
2021-10-20 14:27:40 +01:00
2022-01-11 20:26:36 -08:00
2022-02-10 15:29:39 +00:00
2022-02-09 21:44:35 -08:00
2022-01-15 08:47:31 -08:00
2022-02-04 05:39:57 +01:00
2021-11-22 17:52:47 -05:00
2021-12-29 08:48:14 -08:00
2022-01-07 14:11:05 +00:00
2022-01-20 10:57:05 +02:00
2022-01-09 17:00:17 -08:00
2022-02-01 20:21:10 -08:00
2021-12-20 11:49:51 +00:00
2021-03-14 15:00:43 -07:00
2021-12-17 17:17:14 +01:00
2021-12-16 16:13:19 -08:00
2021-12-20 11:02:38 +01:00
2021-12-29 08:48:14 -08:00
2022-01-22 02:03:24 +00:00
2022-02-01 20:15:58 -08:00
2022-01-05 14:36:10 -08:00
2022-02-07 12:02:49 +00:00
2021-11-09 01:05:28 +01:00
2022-01-28 17:51:31 +02:00
2021-12-07 20:44:58 -08:00
2022-02-09 12:48:22 +00:00
2022-01-17 13:07:47 +00:00
2022-01-14 18:31:37 -08:00
2022-01-18 10:05:48 +02:00
2022-01-19 11:15:19 +02:00
2021-12-09 18:35:11 -08:00
2022-01-05 14:36:10 -08:00
2022-01-11 20:36:08 -08:00
2021-06-03 15:13:56 -07:00
2021-06-11 12:55:28 -07:00
2021-11-20 12:25:57 +00:00
2021-12-10 06:38:26 -08:00
2021-07-29 15:06:49 +01:00
2022-01-06 12:18:08 +00:00
2021-11-09 10:02:50 -08:00