Commit 2187774
committed
vega_sdk_riscv: Ignore GCC warning about potential uninitialized variable
When -ffreestanding is not enabled, and GCC is able to use it's
knowledge of memset semantics, it sometimes gets it wrong, as in this
case. I'm not quite sure what is confusing it here, but the code sure
looks correct.
Signed-off-by: Keith Packard <keithp@keithp.com>1 parent 40d049f commit 2187774
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4077 | 4077 | | |
4078 | 4078 | | |
4079 | 4079 | | |
| 4080 | + | |
| 4081 | + | |
| 4082 | + | |
4080 | 4083 | | |
4081 | 4084 | | |
4082 | 4085 | | |
| |||
4092 | 4095 | | |
4093 | 4096 | | |
4094 | 4097 | | |
| 4098 | + | |
4095 | 4099 | | |
4096 | 4100 | | |
4097 | 4101 | | |
| |||
0 commit comments