X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fdata%2Fsys-file-reader.c;h=bc5ff9eeb2519fbe811ed720790ba5525ede26fb;hb=ed109bf498216cef15a3cbf180827dc8b20eff0b;hp=3a54801c3b648b7a92854f6a75d22022e332e15c;hpb=cb08510bbbab7646bc1031427243489024d22a3b;p=pspp diff --git a/src/data/sys-file-reader.c b/src/data/sys-file-reader.c index 3a54801c3b..bc5ff9eeb2 100644 --- a/src/data/sys-file-reader.c +++ b/src/data/sys-file-reader.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-2000, 2006-2007, 2009-2016 Free Software Foundation, Inc. + Copyright (C) 1997-2000, 2006-2007, 2009-2016, 2021 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 @@ -995,7 +995,7 @@ read_header (struct sfm_reader *r, struct any_read_info *info, r->compression = ANY_COMP_NONE; else if (compressed == 1) r->compression = ANY_COMP_SIMPLE; - else if (compressed != 0) + else { sys_error (r, 0, "System file header has invalid compression " "value %d.", compressed);