X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fdata%2Fpor-file-writer.c;h=4b25d38f31dccffd798219df85fffa9cc8145c74;hb=85e8724e69cf54946c7b40628e88f2ec12368d7c;hp=3a4e88e7f0cb6e5c6b5a545340e00f8168d7723d;hpb=f93d0472eae9d03fb4bcd26a3d7a6301e32fbdde;p=pspp diff --git a/src/data/por-file-writer.c b/src/data/por-file-writer.c index 3a4e88e7f0..4b25d38f31 100644 --- a/src/data/por-file-writer.c +++ b/src/data/por-file-writer.c @@ -32,7 +32,6 @@ #include "data/casewriter.h" #include "data/dictionary.h" #include "data/file-handle-def.h" -#include "data/file-name.h" #include "data/format.h" #include "data/make-file.h" #include "data/missing-values.h" @@ -328,12 +327,12 @@ write_variables (struct pfm_writer *w, struct dictionary *dict) short_names_assign (dict); - if (dict_get_weight (dict) != NULL) + if (dict_get_weight (dict) != NULL) { buf_write (w, "6", 1); write_string (w, var_get_short_name (dict_get_weight (dict), 0)); } - + buf_write (w, "4", 1); write_int (w, dict_get_var_cnt (dict));