projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a bug causing pspp to crash when computed variables had no format
[pspp-builds.git]
/
src
/
mis-val.c
diff --git
a/src/mis-val.c
b/src/mis-val.c
index a048e405bba22b9e50c2a3d3f15ba87046eb84f7..1e07fcfd54b2deffff98f5d66eaf0aa9c708c544 100644
(file)
--- a/
src/mis-val.c
+++ b/
src/mis-val.c
@@
-27,8
+27,6
@@
#include "str.h"
#include "var.h"
#include "str.h"
#include "var.h"
-#undef DEBUGGING
-/*#define DEBUGGING 1*/
#include "debug-print.h"
#if DEBUGGING
#include "debug-print.h"
#if DEBUGGING
@@
-62,10
+60,6
@@
cmd_missing_values (void)
lex_match_id ("VALUES");
while (token != '.')
{
lex_match_id ("VALUES");
while (token != '.')
{
-#if __CHECKER__
- memset (missing, 0, sizeof missing);
-#endif
-
if (!parse_varnames ())
goto fail;
if (!parse_varnames ())
goto fail;
@@
-94,7
+88,7
@@
cmd_missing_values (void)
free (v);
}
free (v);
}
-#if DEBUGGING
+#if
0 &&
DEBUGGING
debug_print ();
#endif
debug_print ();
#endif
@@
-110,7
+104,7
@@
parse_varnames (void)
{
int i;
{
int i;
- if (!parse_variables (
NULL
, &v, &nv, PV_SAME_TYPE))
+ if (!parse_variables (
default_dict
, &v, &nv, PV_SAME_TYPE))
return 0;
if (!lex_match ('('))
{
return 0;
if (!lex_match ('('))
{
@@
-363,7
+357,7
@@
copy_missing_values (struct variable *dest, const struct variable *src)
\f
/* Debug output. */
\f
/* Debug output. */
-#if DEBUGGING
+#if
0 &&
DEBUGGING
static void
debug_print (void)
{
static void
debug_print (void)
{