projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a multitude of C89 compatibility warnings.
[pspp-builds.git]
/
src
/
data
/
variable.c
diff --git
a/src/data/variable.c
b/src/data/variable.c
index 3c170c842c943fddd2039d8932543fb1849eebee..6c1414832b7c992fe5301940a80e33aca794b29d 100644
(file)
--- a/
src/data/variable.c
+++ b/
src/data/variable.c
@@
-131,6
+131,7
@@
hash_value(const union value *v, int width)
bool
var_is_valid_name (const char *name, bool issue_error)
{
bool
var_is_valid_name (const char *name, bool issue_error)
{
+ bool plausible;
size_t length, i;
assert (name != NULL);
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);
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;
if ( ! plausible )
return false;