aboutsummaryrefslogtreecommitdiff
path: root/libdecnumber/decCommon.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2022-10-12 11:14:26 +0100
committerAndrew Burgess <aburgess@redhat.com>2022-10-19 14:32:22 +0100
commite5961d2be503149aaa40927c0a9501c06ca980e5 (patch)
tree8615d42943528247618d2801ad4e78ed091a00f8 /libdecnumber/decCommon.c
parent744875dfdc94dc397ae666c65c56b416c3a191db (diff)
downloadbinutils-e5961d2be503149aaa40927c0a9501c06ca980e5.zip
binutils-e5961d2be503149aaa40927c0a9501c06ca980e5.tar.gz
binutils-e5961d2be503149aaa40927c0a9501c06ca980e5.tar.bz2
sim/ppc: mark device_error function as ATTRIBUTE_NORETURN
The device_error function always ends up calling the error function, which is itself marked as ATTRIBUTE_NORETURN, so it makes sense that device_error should also be marked ATTRIBUTE_NORETURN. Doing this resolves a few warnings from hw_ide.c about possibly uninitialized variables - the variables are only uninitialized after passing through a call to device_error, which obviously means the variables are never really used uninitialized, the simulation will terminate with the device_error call.
Diffstat (limited to 'libdecnumber/decCommon.c')
0 files changed, 0 insertions, 0 deletions