Walter Doekes
f198c85157
main/say: Work around gcc 9 format-truncation false positive
...
Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
Warning:
say.c:2371:24: error: ‘%d’ directive output may be truncated writing
between 1 and 11 bytes into a region of size 10
[-Werror=format-truncation=]
2371 | snprintf(buf, 10, "%d", num);
say.c:2371:23: note: directive argument in the range [-2147483648, 9]
That's not possible though, as the if() starts out checking for (num < 0),
making this Warning a false positive.
(Also replaced some else<TAB>if with else<SP>if while in the vicinity.)
Change-Id: Ic7a70120188c9aa525a6d70289385bfce878438a
2020-10-29 08:27:42 -05:00
..
2018-03-06 13:17:54 -06:00
2019-09-18 15:24:49 -05:00
2020-07-13 15:44:20 -05:00
2017-12-22 09:23:22 -05:00
2018-12-07 09:06:08 -05:00
2019-08-01 15:31:34 -06:00
2020-05-08 09:34:09 -05:00
2020-05-05 09:29:38 -05:00
2017-12-22 09:23:22 -05:00
2020-05-05 09:29:38 -05:00
2017-12-22 09:23:22 -05:00
2020-10-12 05:36:36 -05:00
2020-06-02 11:36:16 -05:00
2018-10-12 12:21:47 -05:00
2019-09-23 07:25:15 -05:00
2019-09-23 13:34:33 -04:00
2019-09-24 11:20:12 -05:00
2019-09-23 13:34:33 -04:00
2019-09-23 13:34:33 -04:00
2019-09-25 08:10:40 -05:00
2020-03-13 09:56:50 -05:00
2018-06-19 15:02:52 -05:00
2020-04-06 10:28:58 -05:00
2017-09-06 13:00:49 -05:00
2017-12-22 09:23:22 -05:00
2020-09-10 05:56:44 -05:00
2018-02-15 14:31:32 -06:00
2020-10-02 08:04:45 -05:00
2018-10-19 17:33:05 -04:00
2018-03-07 16:03:01 -06:00
2019-08-01 15:31:34 -06:00
2020-01-22 12:13:44 -07:00
2019-08-07 04:48:34 -06:00
2019-03-11 11:39:35 -03:00
2020-09-30 08:26:03 -05:00
2018-03-01 13:13:55 -06:00
2020-06-10 10:15:53 -05:00
2019-09-17 13:41:51 +02:00
2018-10-19 17:33:05 -04:00
2018-11-21 09:56:16 -05:00
2019-12-19 04:48:34 -06:00
2020-09-02 06:37:41 -05:00
2020-06-15 08:50:35 -05:00
2020-06-15 08:50:35 -05:00
2017-06-08 10:42:54 -05:00
2020-04-15 14:01:03 -05:00
2018-11-21 09:56:16 -05:00
2019-12-27 17:32:12 -06:00
2019-03-11 11:39:35 -03:00
2020-03-31 12:13:40 -05:00
2020-03-13 10:00:31 -05:00
2018-11-14 09:25:32 -05:00
2020-06-10 09:34:02 -05:00
2018-03-13 13:46:08 -04:00
2020-04-28 13:06:20 -05:00
2017-12-22 09:23:22 -05:00
2018-07-26 14:29:18 -05:00
2020-09-23 15:21:37 -05:00
2019-03-11 11:39:35 -03:00
2020-03-09 10:14:48 -05:00
2019-11-18 08:30:25 -06:00
2018-10-19 17:33:05 -04:00
2018-03-14 05:20:12 -04:00
2020-01-05 21:17:51 -06:00
2020-02-17 10:58:32 -06:00
2020-09-15 14:36:45 -05:00
2020-09-15 14:36:45 -05:00
2017-12-22 09:23:22 -05:00
2018-10-19 17:33:05 -04:00
2020-07-07 15:00:39 -05:00
2017-12-22 09:23:22 -05:00
2018-03-01 13:13:55 -06:00
2018-03-01 13:13:55 -06:00
2020-06-10 09:34:02 -05:00
2019-11-18 08:30:25 -06:00
2017-06-19 13:33:48 -04:00
2020-01-02 15:51:28 -06:00
2017-12-20 12:40:01 -05:00
2019-03-26 21:16:47 +01:00
2018-05-20 13:55:26 +02:00
2019-07-29 07:39:08 -06:00
2018-10-19 12:34:08 -04:00
2020-08-28 12:27:51 -05:00
2018-11-26 14:30:02 -07:00
2018-11-26 14:30:02 -07:00
2019-01-23 09:46:00 -06:00
2017-12-22 09:23:22 -05:00
2019-04-23 17:40:15 -05:00
2017-12-19 09:42:19 -05:00
2020-07-06 05:27:16 -05:00
2019-11-22 16:38:17 -05:00
2019-01-28 12:26:58 -07:00
2020-07-06 05:27:16 -05:00
2019-07-08 18:12:49 -05:00
2020-03-31 10:59:12 -05:00
2017-12-30 13:20:16 -05:00
2018-05-21 11:03:10 -05:00
2018-02-12 22:53:35 -05:00
2020-06-02 11:36:16 -05:00
2019-03-11 11:39:35 -03:00
2018-03-15 07:25:28 -04:00
2018-03-13 13:46:08 -04:00
2018-06-19 10:46:46 -06:00
2017-12-22 09:23:22 -05:00
2020-06-10 09:34:02 -05:00
2020-10-02 12:56:10 -05:00
2018-10-19 17:33:05 -04:00
2018-07-26 14:29:18 -05:00
2017-12-22 09:23:22 -05:00
2019-03-11 11:39:35 -03:00
2019-09-19 08:22:58 -05:00
2020-10-29 08:27:42 -05:00
2019-07-18 01:22:55 -06:00
2017-12-22 09:23:22 -05:00
2019-03-11 11:39:35 -03:00
2019-11-18 11:03:29 -05:00
2017-12-22 09:23:22 -05:00
2020-02-20 04:52:03 -06:00
2019-02-04 14:40:35 -06:00
2019-06-13 14:07:16 -06:00
2019-03-11 11:39:35 -03:00
2019-11-18 08:30:25 -06:00
2020-06-10 09:34:02 -05:00
2019-03-11 11:39:35 -03:00
2019-01-17 14:51:47 -04:00
2018-12-07 08:59:00 -05:00
2019-10-04 07:08:00 -05:00
2019-03-11 11:39:35 -03:00
2020-06-10 09:34:02 -05:00
2020-05-08 09:34:09 -05:00
2020-09-11 10:34:02 -06:00
2018-03-13 16:24:06 -04:00
2019-03-13 09:30:40 -04:00
2017-08-10 14:38:12 -05:00
2019-10-07 16:53:17 -05:00
2020-10-08 05:46:20 -05:00
2017-12-22 09:23:22 -05:00
2019-03-11 11:39:35 -03:00
2019-02-20 11:51:08 -06:00
2017-12-22 09:23:22 -05:00
2018-01-03 17:23:36 -05:00
2020-01-20 15:58:16 -06:00
2019-07-30 06:48:59 -06:00
2017-12-22 09:23:22 -05:00
2020-07-28 09:44:50 -05:00
2018-12-11 10:08:07 -05:00
2018-06-23 08:26:19 +02:00
2018-07-23 06:47:20 -05:00
2018-11-21 09:56:16 -05:00