From: Ben Pfaff Date: Sun, 31 Jul 2005 05:42:55 +0000 (+0000) Subject: (parse_Z) [WORDS_BIGENDIAN] Don't declare buf[], to avoid "unused X-Git-Tag: v0.4.0~20 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9b6a814534e9da0ef954f0713ec62056b608e39;p=pspp-builds.git (parse_Z) [WORDS_BIGENDIAN] Don't declare buf[], to avoid "unused variable" warning. --- diff --git a/src/ChangeLog b/src/ChangeLog index 41a6cbff..532c3124 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +Sat Jul 30 22:41:44 2005 Ben Pfaff + + * 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 * command.c: (find_word) Cast `char' to `unsigned char' before diff --git a/src/data-in.c b/src/data-in.c index 945cafd7..ec03274b 100644 --- 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;