X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fweight.c;h=7fac10cca7f4af6f193e38bdf616221c350e3300;hb=d781f450096059a2ae52da5749078e68661b9c91;hp=41dc33f65562becfde277be97d86165e320a50e1;hpb=77cbf2d7d1e5712d4ef952f265ed5c2917fc3f68;p=pspp diff --git a/src/weight.c b/src/weight.c index 41dc33f655..7fac10cca7 100644 --- a/src/weight.c +++ b/src/weight.c @@ -18,7 +18,7 @@ 02111-1307, USA. */ #include -#include +#include "error.h" #include #include "command.h" #include "error.h" @@ -37,8 +37,6 @@ struct weight_trns int cmd_weight (void) { - lex_match_id ("WEIGHT"); - if (lex_match_id ("OFF")) dict_set_weight (default_dict, NULL); else