gas tc-arm.c warning fix

* config/tc-arm.c (aeabi_set_public_attributes): Avoid false
	positive "‘profile’ may be used uninitialized".
This commit is contained in:
Alan Modra 2018-01-11 09:34:58 +10:30
parent 618daa933c
commit b90d5ba0b6
2 changed files with 6 additions and 1 deletions

View File

@ -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,

View File

@ -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;