From 1faddd8d18c6a1c01f1bdd5ea528e3bcff3897ce Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 6 Sep 2021 10:47:48 +0100 Subject: [PATCH] Fix potential uninitialised variable in microblaze assembler code. --- gas/config/tc-microblaze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gas/config/tc-microblaze.c b/gas/config/tc-microblaze.c index 881172d5274..51af96152f5 100644 --- a/gas/config/tc-microblaze.c +++ b/gas/config/tc-microblaze.c @@ -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]; -- 2.30.2