Rusty Russell
9239278cdd
plugins: fix compile warning with some gcc versions and -Og
...
Indeed, we can fall through this if it's not a valid enum value.
gcc-12 (Ubuntu 12.2.0-17ubuntu1) 12.2.0
```
In file included from plugins/commando.c:10:
ccan/ccan/tal/str/str.h: In function ‘rune_altern_to_english’:
ccan/ccan/tal/str/str.h:43:9: error: ‘cond_str’ may be used uninitialized [-Werror=maybe-uninitialized]
43 | tal_fmt_(ctx, TAL_LABEL(char, "[]"), __VA_ARGS__)
| ^~~~~~~~
plugins/commando.c:97:21: note: ‘cond_str’ was declared here
97 | const char *cond_str;
| ^~~~~~~~
cc1: all warnings being treated as errors
```
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2023-08-15 06:21:23 +09:30
..
2023-08-12 09:41:24 +09:30
2021-10-28 15:51:38 +02:00
2023-07-11 11:41:15 +09:30
2023-06-29 11:28:47 -04:00
2023-07-28 09:21:42 +09:30
2023-07-19 19:13:57 +09:30
2023-07-28 09:21:42 +09:30
2023-07-19 19:13:57 +09:30
2023-08-10 15:52:53 +09:30
2023-07-22 13:11:08 +09:30
2023-07-31 21:00:22 +09:30
2023-07-31 21:00:22 +09:30
2023-07-31 21:00:22 +09:30
2023-03-25 15:28:02 +10:30
2023-03-25 15:28:02 +10:30
2023-08-12 13:17:46 +09:30
2023-08-02 07:09:28 +09:30
2023-01-21 08:05:31 -06:00
2022-02-07 13:02:09 +10:30
2023-08-08 09:45:10 +09:30
2023-08-08 14:31:47 +09:30
2023-02-05 20:40:47 +01:00
2023-07-25 14:47:12 +09:30
2023-08-08 14:31:47 +09:30
2023-07-30 15:20:04 +09:30
2023-07-09 16:49:48 +09:30
2023-04-10 07:31:12 +09:30
2023-08-08 14:31:47 +09:30
2022-09-24 15:22:27 +09:30
2023-08-08 14:31:47 +09:30
2023-08-08 14:31:47 +09:30
2023-07-28 10:18:32 +09:30
2022-10-26 11:29:06 +10:30
2023-07-26 06:55:48 +09:30
2020-09-08 09:42:00 +09:30
2023-08-07 18:46:48 +09:30
2023-07-26 06:55:48 +09:30
2022-03-05 15:03:34 +10:30
2019-05-31 17:57:10 +02:00
2023-07-28 09:21:42 +09:30
2023-07-19 19:13:57 +09:30
2023-07-31 21:00:22 +09:30
2023-07-31 21:00:22 +09:30
2023-07-19 19:13:57 +09:30
2023-07-19 19:13:57 +09:30
2023-08-06 14:37:49 +09:30
2023-07-19 19:13:57 +09:30
2023-07-31 11:29:59 +09:30
2023-04-10 17:26:47 +09:30
2022-03-10 09:40:09 +10:30
2023-07-13 18:59:37 +09:30
2022-09-19 10:18:55 +09:30
2023-04-10 17:26:47 +09:30
2023-08-08 14:31:47 +09:30
2021-12-28 04:42:42 +10:30
2023-01-30 13:24:29 +10:30
2021-12-01 05:44:28 +10:30
2023-07-30 15:20:04 +09:30
2023-07-30 15:20:04 +09:30
2023-08-08 14:31:47 +09:30
2023-01-13 10:42:42 +10:30
2023-08-10 15:52:53 +09:30
2023-06-20 20:08:25 +09:30
2023-08-07 18:46:48 +09:30
2023-07-26 06:55:48 +09:30
2023-08-02 07:09:28 +09:30
2023-07-31 21:00:22 +09:30
2022-02-08 11:15:52 +10:30
2022-02-08 11:15:52 +10:30
2023-08-07 18:45:29 +09:30
2023-01-17 14:13:45 +10:30
2022-07-15 12:24:00 -05:00
2022-09-16 12:31:45 +09:30
2021-06-25 09:49:33 +09:30
2023-07-26 06:55:48 +09:30
2022-09-16 12:31:45 +09:30
2023-08-07 17:13:29 +09:30
2023-07-19 19:13:57 +09:30
2023-07-31 21:00:22 +09:30
2021-06-16 10:29:17 +09:30
2023-08-15 06:21:23 +09:30
2023-07-25 14:47:12 +09:30
2023-04-10 17:26:47 +09:30
2023-07-30 15:20:04 +09:30
2023-07-30 15:20:04 +09:30
2023-07-23 13:48:37 +09:30
2023-07-23 13:48:37 +09:30
2023-07-19 19:13:57 +09:30
2022-08-31 12:18:28 +03:00