Commit 938677a
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 938677a
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4077 | 4077 | | |
4078 | 4078 | | |
4079 | 4079 | | |
| 4080 | + | |
| 4081 | + | |
| 4082 | + | |
| 4083 | + | |
| 4084 | + | |
4080 | 4085 | | |
4081 | 4086 | | |
4082 | 4087 | | |
| |||
4092 | 4097 | | |
4093 | 4098 | | |
4094 | 4099 | | |
| 4100 | + | |
| 4101 | + | |
| 4102 | + | |
4095 | 4103 | | |
4096 | 4104 | | |
4097 | 4105 | | |
| |||
0 commit comments