X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdictionary%2Fmissing-values.c;h=22fe4436f0500e9f93b54b97ae48962c2a2663db;hb=b2be264914a7f376fa00d26de702c7077f086ca8;hp=aa3ce698206ba652cef8a299c6f6926095329881;hpb=04d2c99833753252b724dd9d4f15cc3a80b6bec8;p=pspp diff --git a/src/language/dictionary/missing-values.c b/src/language/dictionary/missing-values.c index aa3ce69820..22fe4436f0 100644 --- a/src/language/dictionary/missing-values.c +++ b/src/language/dictionary/missing-values.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000, 2006, 2009 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2006, 2009, 2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -38,7 +38,7 @@ int cmd_missing_values (struct lexer *lexer, struct dataset *ds) { - struct variable **v; + struct variable **v = NULL; size_t nv; int retval = CMD_FAILURE; @@ -101,7 +101,7 @@ cmd_missing_values (struct lexer *lexer, struct dataset *ds) mv_init (&mv, MV_MAX_STRING); while (!lex_match (lexer, ')')) { - char value[MV_MAX_STRING]; + uint8_t value[MV_MAX_STRING]; size_t length; if (!lex_force_string (lexer))