Jon Turney
87b066b3f3
Cygwin: Fix warning about address known to be non-NULL in /proc/locales
...
Fix a gcc 12 warning about an address known to be non-NULL in
format_proc_locale_proc().
> ../../../../src/winsup/cygwin/fhandler/proc.cc: In function ‘BOOL format_proc_locale_proc(LPWSTR, DWORD, LPARAM)’:
> ../../../../src/winsup/cygwin/fhandler/proc.cc:2156:11: error: the address of ‘iso15924’ will never be NULL [-Werror=address]
> 2156 | if (iso15924)
> | ^~~~~~~~
> ../../../../src/winsup/cygwin/fhandler/proc.cc:2133:11: note: ‘iso15924’ declared here
> 2133 | wchar_t iso15924[ENCODING_LEN + 1] = { 0 };
> | ^~~~~~~~
Fixes: c42b98bdc665f ("Cygwin: introduce /proc/codesets and /proc/locales")
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
2024-08-22 19:58:49 +02:00
..
2022-08-29 17:53:48 +01:00
2024-08-22 19:58:49 +02:00
2024-04-03 18:57:33 +02:00
2022-08-04 20:54:09 +02:00
2024-02-21 20:00:59 +01:00
2024-01-18 10:53:25 +01:00
2024-08-22 19:58:49 +02:00
2023-04-18 13:43:06 +02:00
2024-01-29 13:33:05 +01:00
2023-03-20 12:58:03 +01:00
2024-07-03 23:20:44 +09:00
2023-09-10 14:42:21 +01:00
2024-03-11 15:29:51 +01:00
2021-11-10 20:16:15 -05:00
2022-12-20 10:19:23 +01:00
2022-08-04 22:13:59 +02:00
2023-08-07 16:04:32 +02:00
2024-06-01 15:35:58 +09:00
2022-12-04 14:01:41 +01:00
2021-04-27 16:49:56 +01:00
2022-10-28 16:26:53 +02:00
2022-05-16 18:17:06 +02:00
2023-02-25 16:12:51 +01:00
2022-08-04 22:13:59 +02:00
2022-08-23 12:09:44 +02:00
2021-07-22 09:57:40 +02:00
2024-01-15 12:52:56 +01:00
2022-10-28 16:26:53 +02:00
2024-04-09 22:30:34 +02:00
2022-08-22 14:38:49 +02:00
2024-07-09 00:02:02 +09:00
2024-07-09 00:02:02 +09:00
2024-01-23 09:49:02 +01:00
2022-05-29 17:54:32 -04:00
2024-01-29 13:33:05 +01:00
2023-11-05 17:01:43 +01:00
2024-02-03 20:03:43 +01:00
2022-08-04 15:16:48 +02:00
2024-08-22 19:58:49 +02:00
2022-07-28 22:00:40 +02:00
2023-03-07 10:51:29 +09:00
2022-05-29 17:45:52 -04:00
2021-04-13 12:55:34 +02:00
2022-12-04 14:01:41 +01:00
2024-01-29 13:33:05 +01:00
2023-09-08 22:34:52 +02:00
2022-05-04 15:08:44 +02:00
2024-03-18 11:10:20 +01:00
2024-02-03 20:03:43 +01:00
2021-06-26 15:24:27 +01:00
2024-03-11 15:29:51 +01:00
2022-07-28 16:38:01 +02:00
2022-08-04 22:13:59 +02:00
2022-05-29 17:45:52 -04:00
2023-08-29 14:17:04 +02:00
2022-08-04 22:13:59 +02:00
2022-05-29 17:54:32 -04:00
2023-11-05 17:01:43 +01:00
2022-08-10 18:06:28 +02:00
2022-05-29 17:45:52 -04:00
2024-01-08 11:45:13 +01:00
2024-02-03 23:50:12 +09:00
2023-04-24 22:41:41 +02:00
2023-06-16 21:44:41 +02:00
2024-02-26 10:04:32 +01:00
2024-04-04 18:22:19 +02:00
2024-08-22 19:58:49 +02:00
2022-06-27 10:54:24 +09:00
2022-08-10 18:11:57 +02:00
2022-08-22 14:53:30 +02:00
2022-08-04 22:13:59 +02:00
2022-08-03 16:01:29 +02:00
2023-11-14 17:52:48 +01:00
2022-12-04 14:01:41 +01:00
2023-09-01 12:38:52 +02:00
2023-09-07 17:36:04 +09:00
2022-08-22 14:28:11 +02:00
2022-05-29 17:45:52 -04:00
2024-08-22 19:58:49 +02:00
2022-08-22 17:58:53 +02:00
2024-03-12 20:49:48 +09:00
2022-06-06 12:00:45 -04:00
2023-08-15 22:34:29 +02:00
2021-08-26 22:14:11 +02:00
2023-03-15 21:44:52 +01:00
2024-01-15 12:52:56 +01:00
2023-08-29 14:17:04 +02:00
2022-08-03 15:35:29 +02:00
2024-06-02 23:28:21 +09:00
2022-08-04 22:13:59 +02:00
2024-02-20 12:30:51 +01:00
2022-08-23 12:09:44 +02:00
2023-03-07 10:51:29 +09:00
2024-02-26 10:04:32 +01:00
2022-12-07 22:22:38 +01:00
2023-06-20 10:06:56 +02:00
2022-08-04 22:13:59 +02:00