[Toybox] [PATCH] date: silence gcc 13.2.

enh enh at google.com
Mon Dec 25 09:42:44 PST 2023


The code is correct (and doesn't seem to bother clang), but gcc can't
tell that we don't touch old_tz unless we've touched new_tz (which _is_
guaranteed to be initialized).
---
 toys/posix/date.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-date-silence-gcc-13.2.patch
Type: application/octet-stream
Size: 924 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20231225/103fb881/attachment.obj>


More information about the Toybox mailing list