Commit eda105b0 authored by Junchao Zhang's avatar Junchao Zhang
Browse files

Remove unnessary array init in MPIU_CHKLMEM_DECL



Initializing mpiu_chklmem_stk_sp_ to 0 should already have the effect to
initialize mpiu_chklmem_stk_[n_].
Signed-off-by: default avatarAntonio J. Pena <apenya@mcs.anl.gov>
parent 98114df4
......@@ -317,7 +317,7 @@ extern char *strdup( const char * );
}}
#else
#define MPIU_CHKLMEM_DECL(n_) \
void *(mpiu_chklmem_stk_[n_]) = {0};\
void *(mpiu_chklmem_stk_[n_]); \
int mpiu_chklmem_stk_sp_=0;\
MPIU_AssertDeclValue(const int mpiu_chklmem_stk_sz_,n_)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment