projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix generate.pl for Perl 5.6.1.
[pspp]
/
src
/
loop.c
diff --git
a/src/loop.c
b/src/loop.c
index 784ca623229b0244ac6c9a07848b32748962c8e1..b6df5c2d6263aac1e4d81532a582448f17b6fe60 100644
(file)
--- a/
src/loop.c
+++ b/
src/loop.c
@@
-224,7
+224,7
@@
internal_cmd_loop (void)
}
}
else
- name[0] =
0
;
+ name[0] =
'\0'
;
/* Parse IF clause. */
if (lex_match_id ("IF"))
@@
-243,7
+243,7
@@
internal_cmd_loop (void)
}
/* Find variable; create if necessary. */
- if (name[0])
+ if (name[0]
!= '\0'
)
{
two->index = dict_lookup_var (default_dict, name);
if (!two->index)