projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2b204d
)
(parse_Z) [WORDS_BIGENDIAN] Don't declare buf[], to avoid "unused
author
Ben Pfaff
<blp@gnu.org>
Sun, 31 Jul 2005 05:42:55 +0000
(
05:42
+0000)
committer
Ben Pfaff
<blp@gnu.org>
Sun, 31 Jul 2005 05:42:55 +0000
(
05:42
+0000)
variable" warning.
src/ChangeLog
patch
|
blob
|
history
src/data-in.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 41a6cbfff67f95df6d4984b5e507405e57b5d366..532c312469a1932186722ccf85e856c30457c915 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+Sat Jul 30 22:41:44 2005 Ben Pfaff <blp@gnu.org>
+
+ * data-in.c: (parse_Z) [WORDS_BIGENDIAN] Don't declare buf[], to
+ avoid "unused variable" warning.
+
Sat Jul 30 22:38:46 2005 Ben Pfaff <blp@gnu.org>
* command.c: (find_word) Cast `char' to `unsigned char' before
diff --git
a/src/data-in.c
b/src/data-in.c
index 945cafd734ae38dc2af3f991776a69a6a29723f3..ec03274b45bed23c4e247d03fe8634bb85fc260e 100644
(file)
--- a/
src/data-in.c
+++ b/
src/data-in.c
@@
-455,7
+455,9
@@
parse_Z (struct data_in *i)
static inline bool
parse_IB (struct data_in *i)
{
+#ifndef WORDS_BIGENDIAN
char buf[64];
+#endif
const char *p;
unsigned char xor;