diff options
author | Luis Machado <luis.machado@linaro.org> | 2021-04-08 16:49:04 -0300 |
---|---|---|
committer | Luis Machado <luis.machado@linaro.org> | 2021-04-09 09:17:32 -0300 |
commit | ed29efbd172e04b53d1f9ddab64e6e0cf6dceaf2 (patch) | |
tree | fdbe00f567c0db5a742aeae103a4e43c2ba2c65e /gdb/nat | |
parent | dd17020328b4ebf45be26eed156fba3d269096f6 (diff) | |
download | gdb-ed29efbd172e04b53d1f9ddab64e6e0cf6dceaf2.zip gdb-ed29efbd172e04b53d1f9ddab64e6e0cf6dceaf2.tar.gz gdb-ed29efbd172e04b53d1f9ddab64e6e0cf6dceaf2.tar.bz2 |
[sim,rx] Silence warning that turns into a build error
On a 32-bit build, I ran into the following:
sim/rx/fpu.c:789:6: error: "*((void *)&a+8)" may be used uninitialized in this function [-Werror=maybe-uninitialized]
rv = fp_implode (&a);
To silence this, just initialize the struct with 0's.
sim/rx/ChangeLog:
2021-04-09 Luis Machado <luis.machado@linaro.org>
* fpu.c (rxfp_itof): Initialize structure.
Diffstat (limited to 'gdb/nat')
0 files changed, 0 insertions, 0 deletions