Fixed a multitude of C89 compatibility warnings.
[pspp-builds.git] / src / data / variable.c
index 3c170c842c943fddd2039d8932543fb1849eebee..6c1414832b7c992fe5301940a80e33aca794b29d 100644 (file)
@@ -131,6 +131,7 @@ hash_value(const union value  *v, int width)
 bool
 var_is_valid_name (const char *name, bool issue_error) 
 {
+  bool plausible;
   size_t length, i;
   
   assert (name != NULL);
@@ -139,7 +140,7 @@ var_is_valid_name (const char *name, bool issue_error)
      CHARACTERS */
   length = strlen (name);
 
-  bool plausible = var_is_plausible_name(name, issue_error);
+  plausible = var_is_plausible_name(name, issue_error);
 
   if ( ! plausible ) 
     return false;