Files
asterisk/main
Walter Doekes 1650d50e91 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:28:04 -05:00
..
2019-08-01 15:31:48 -06:00
2020-05-05 10:06:43 -05:00
2020-05-05 10:06:43 -05:00
2020-04-06 10:23:20 -05:00
2019-08-01 15:31:48 -06:00
2020-10-02 12:58:18 -05:00
2020-06-10 09:33:28 -05:00
2020-08-18 05:16:43 -05:00
2020-08-18 05:16:43 -05:00
2020-06-10 09:33:28 -05:00
2017-12-20 12:40:01 -05:00
2020-10-02 12:58:18 -05:00
2020-06-10 09:33:28 -05:00
2020-06-10 09:33:28 -05:00
2020-06-10 09:33:28 -05:00
2020-10-02 12:58:18 -05:00
2018-06-23 08:26:19 +02:00
2018-07-23 06:47:20 -05:00