mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Gcc 12 produces a -Wmaybe-uninitialized warning that the content of the tmp buffer may be uninitialized. This is a false positive. Silence the warning by using calloc instead of malloc to ensure that the allocated buffer is initialized. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
15 KiB
15 KiB