]> Savannah Git Hosting - gnulib.git/commit
explicit_bzero-tests: pacify GCC
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Jul 2021 04:52:45 +0000 (23:52 -0500)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Jul 2021 04:55:47 +0000 (23:55 -0500)
commit12916298170afc45f47c8b9f7357b24aa76dcdde
tree01e3337bbc8889dba82ebeb5217f89e3dbce045a
parent07be6b74552efb9393bd1203497dfe41a6368882
explicit_bzero-tests: pacify GCC

Redo to pacify -Wmaybe-uninitialized with
GCC 11.1.1 20210531 (Red Hat 11.1.1-3) x86-64.
* tests/test-explicit_bzero.c (stackbuf): New static pointer.
(do_secret_stuff): Use it.
(test_stack): Set it to a local buffer.
ChangeLog
tests/test-explicit_bzero.c