MIPS: tools: no need to initialise statics to 0
Static variables do not need to be initialised to 0, because compiler will initialise all uninitialised statics to 0. Thus, remove the unneeded initializations. Signed-off-by: Jason Wang <wangborong@cdjrlc.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
parent
abae018a03
commit
a4fa106ee1
@ -351,7 +351,7 @@ static void read_symtabs(FILE *fp)
|
|||||||
|
|
||||||
static void read_relocs(FILE *fp)
|
static void read_relocs(FILE *fp)
|
||||||
{
|
{
|
||||||
static unsigned long base = 0;
|
static unsigned long base;
|
||||||
int i, j;
|
int i, j;
|
||||||
|
|
||||||
if (!base) {
|
if (!base) {
|
||||||
|
Loading…
Reference in New Issue
Block a user