* env.c (parse_bind_var): Initialize value to avoid
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Oct 2013 08:26:18 +0000 (08:26 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Oct 2013 08:26:18 +0000 (08:26 +0000)
(false positive) warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203514 138bc75d-0d04-0410-961f-82ee72b054a4

libgomp/ChangeLog
libgomp/env.c

index cfcc48a..440174e 100644 (file)
@@ -1,3 +1,8 @@
+2013-10-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * env.c (parse_bind_var): Initialize value to avoid
+       (false positive) warning.
+
 2013-10-12  Jakub Jelinek  <jakub@redhat.com>
 
        PR libgomp/58691
index 7548338..afd03f0 100644 (file)
@@ -309,7 +309,7 @@ parse_bind_var (const char *name, char *p1stvalue,
                char **pvalues, unsigned long *pnvalues)
 {
   char *env;
-  char value, *values = NULL;
+  char value = omp_proc_bind_false, *values = NULL;
   int i;
   static struct proc_bind_kinds
   {