Hi!

At -Og reportedly we get a false positive warning; this isn't performance
sensitive code, so initializing it doesn't hurt.

2013-10-14  Jakub Jelinek  <ja...@redhat.com>

        * env.c (parse_bind_var): Initialize value to avoid
        (false positive) warning.

--- libgomp/env.c.jj    2013-10-12 00:10:02.000000000 +0200
+++ libgomp/env.c       2013-10-14 10:23:44.753793069 +0200
@@ -309,7 +309,7 @@ parse_bind_var (const char *name, char *
                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
   {

        Jakub

Reply via email to