* env.c (initialize_env): Initialize stacksize to 0.

From-SVN: r246598
This commit is contained in:
Jakub Jelinek 2017-03-30 22:29:20 +02:00 committed by Jakub Jelinek
parent 05dc406d7a
commit e02d868ada
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2017-03-30 Jakub Jelinek <jakub@redhat.com>
* env.c (initialize_env): Initialize stacksize to 0.
2017-03-22 Cesar Philippidis <cesar@codesourcery.com>
PR c++/80029

View File

@ -1187,7 +1187,7 @@ handle_omp_display_env (unsigned long stacksize, int wait_policy)
static void __attribute__((constructor))
initialize_env (void)
{
unsigned long thread_limit_var, stacksize;
unsigned long thread_limit_var, stacksize = 0;
int wait_policy;
/* Do a compile time check that mkomp_h.pl did good job. */