X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fsys-file-reader.c;h=20713a5667a5048fbf533e64e64d79da83db7b6c;hb=04fb909bd65eee66428d131ff34a6e1fde42e243;hp=072fca3b0964be65209abcd44cf6acc89cc8d809;hpb=a37754c18dee3d5941e5fe041b2c1fa1a3370157;p=pspp-builds.git diff --git a/src/data/sys-file-reader.c b/src/data/sys-file-reader.c index 072fca3b..20713a56 100644 --- a/src/data/sys-file-reader.c +++ b/src/data/sys-file-reader.c @@ -387,10 +387,10 @@ sfm_open_reader (struct file_handle *fh, struct dictionary **dict, { struct { - int32_t subtype P; - int32_t size P; - int32_t count P; - } + int32_t subtype ; + int32_t size ; + int32_t count ; + } ATTRIBUTE((packed)) data; unsigned long bytes; @@ -443,10 +443,10 @@ sfm_open_reader (struct file_handle *fh, struct dictionary **dict, { struct { - int32_t measure P; - int32_t width P; - int32_t align P; - } + int32_t measure ; + int32_t width ; + int32_t align ; + } ATTRIBUTE((packed)) params; struct variable *v; @@ -474,7 +474,8 @@ sfm_open_reader (struct file_handle *fh, struct dictionary **dict, case 13: /* SPSS 12.0 Long variable name map */ { - char *short_name, *save_ptr; + char *short_name; + char *save_ptr = NULL; int idx; /* Read data. */