diff options
author | merrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-03-30 23:51:30 +0000 |
---|---|---|
committer | merrill <merrill@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-03-30 23:51:30 +0000 |
commit | 5233d224cfbb5e37f6884facf4e52bfcf7ec6fda (patch) | |
tree | f6695f619c0e03893f57650107610c26d69516b9 /gcc/libgcc2.c | |
parent | 2ae32452398c07f7a7d9e28344abcde5119d4459 (diff) | |
download | gcc-5233d224cfbb5e37f6884facf4e52bfcf7ec6fda.tar.gz |
Remove explicit 0-initializations of static variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9269 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r-- | gcc/libgcc2.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index 6ddaf9d4202..2836fb7ab5c 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -1438,7 +1438,7 @@ extern void on_exit (void*, void*); #endif #endif -static struct bb *bb_head = (struct bb *)0; +static struct bb *bb_head; /* Return the number of digits needed to print a value */ /* __inline__ */ static int num_digits (long value, int base) @@ -1745,7 +1745,7 @@ __clear_cache (beg, end) #else #ifdef INSN_CACHE_SIZE static char array[INSN_CACHE_SIZE + INSN_CACHE_PLANE_SIZE + INSN_CACHE_LINE_WIDTH]; - static int initialized = 0; + static int initialized; int offset; void *start_addr void *end_addr; @@ -2041,7 +2041,7 @@ void SYMBOL__MAIN () { /* Support recursive calls to `main': run initializers just once. */ - static int initialized = 0; + static int initialized; if (! initialized) { initialized = 1; @@ -2124,9 +2124,9 @@ struct exception_table_node { struct exception_table_node *next; }; -static int except_table_pos = 0; -static void *except_pc = (void *)0; -static struct exception_table_node *exception_table_list = 0; +static int except_table_pos; +static void *except_pc; +static struct exception_table_node *exception_table_list; static exception_table * find_exception_table (pc) |