From: Ben Pfaff Date: Sun, 12 Oct 2008 03:42:44 +0000 (-0700) Subject: Fix GCC 4.3 warning about uninitialized structure member. X-Git-Tag: v0.7.1~50^2~26 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=828f40a9dfc8522482bc59b939227f9f93ee691a;p=pspp-builds.git Fix GCC 4.3 warning about uninitialized structure member. --- diff --git a/src/language/xforms/recode.c b/src/language/xforms/recode.c index eef48f3d..bdff1ac5 100644 --- a/src/language/xforms/recode.c +++ b/src/language/xforms/recode.c @@ -397,8 +397,11 @@ parse_map_out (struct lexer *lexer, struct pool *pool, struct map_out *out) set_map_out_str (out, pool, lex_tokstr (lexer)); lex_get (lexer); } - else if (lex_match_id (lexer, "COPY")) - out->copy_input = true; + else if (lex_match_id (lexer, "COPY")) + { + out->copy_input = true; + out->width = 0; + } else { lex_error (lexer, _("expecting output value"));