Fix potential uninitialised variable in microblaze assembler code.
authorNick Clifton <nickc@redhat.com>
Mon, 6 Sep 2021 09:47:48 +0000 (10:47 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 6 Sep 2021 09:47:48 +0000 (10:47 +0100)
gas/config/tc-microblaze.c

index 881172d52748fbcc573eeb91913b3450afcd0bff..51af96152f5e0b236a9a5b16583260e3cbb8e16f 100644 (file)
@@ -915,7 +915,7 @@ md_assemble (char * str)
   unsigned reg2;
   unsigned reg3;
   unsigned isize;
-  unsigned int immed, temp;
+  unsigned int immed = 0, temp;
   expressionS exp;
   char name[20];