diff options
author | Alan Modra <amodra@gmail.com> | 2018-01-11 09:34:58 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-01-11 09:47:38 +1030 |
commit | b90d5ba0b6e068db21650ad42ec9dea22426df00 (patch) | |
tree | 1d6b80d6919ce7d9e386719615cd9abedee015d8 /gas | |
parent | 618daa933cdce21424d3759ea95a4e2f5c69a1c2 (diff) | |
download | gdb-b90d5ba0b6e068db21650ad42ec9dea22426df00.zip gdb-b90d5ba0b6e068db21650ad42ec9dea22426df00.tar.gz gdb-b90d5ba0b6e068db21650ad42ec9dea22426df00.tar.bz2 |
gas tc-arm.c warning fix
* config/tc-arm.c (aeabi_set_public_attributes): Avoid false
positive "‘profile’ may be used uninitialized".
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index cacaeea..125d54a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2018-01-11 Alan Modra <amodra@gmail.com> + + * config/tc-arm.c (aeabi_set_public_attributes): Avoid false + positive "‘profile’ may be used uninitialized". + 2018-01-10 Jan Beulich <jbeulich@suse.com> * testsuite/gas/i386/avx512_4fmaps.s, diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 0b81c19..0e16688 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -27104,7 +27104,7 @@ found: static void aeabi_set_public_attributes (void) { - char profile; + char profile = '\0'; int arch = -1; int virt_sec = 0; int fp16_optional = 0; |