string: Suppress -Wmaybe-unitialized for wordcopy [BZ #19444]
commit402853be1db5a233ec688f8c5343b73191629fbd
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 11 Jan 2023 21:27:29 +0000 (11 18:27 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 12 Jan 2023 12:06:00 +0000 (12 09:06 -0300)
treeecb3e19a433d733c3007cd77d60385a731febb28
parent8b69e064d4bdad173446116e4a1b920814b7d5ec
string: Suppress -Wmaybe-unitialized for wordcopy [BZ #19444]

When compiling with GCC 6+ the sparc build warns that some variables
might be used uninitialized.  However it does not seem the fact, since
the variables are really initialized (and also other targets that use the
same code, like powerpc, do not warn about it).

So suppress the warning for now.

Changes from v1:
* Update patch description and the explanation for the suppresion.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
string/wordcopy.c