X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Fquick-cluster.c;h=0c871c8bf2d54849e19d4bbbd0c262b371ff666a;hb=b72595c6b7888b8fe6dd350a5410ff36fe041e06;hp=68b50123144e2b0b10c19d494d2e4b02b32ac430;hpb=7b6472a0d9e5a6654c528da2b04a4692d1bff718;p=pspp diff --git a/src/language/stats/quick-cluster.c b/src/language/stats/quick-cluster.c index 68b5012314..0c871c8bf2 100644 --- a/src/language/stats/quick-cluster.c +++ b/src/language/stats/quick-cluster.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2011, 2012 Free Software Foundation, Inc. + Copyright (C) 2011, 2012, 2015 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 @@ -576,6 +576,11 @@ cmd_quick_cluster (struct lexer *lexer, struct dataset *ds) goto error; } } + else + { + lex_error (lexer, NULL); + goto error; + } } qc.wv = dict_get_weight (dict);