From 12f5cbe15940bfb94d31a1b898084aa5f0e5fa10 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 15 Mar 2016 11:38:01 +0100 Subject: swapon: remove unnecessary assert Addresses: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818252 Signed-off-by: Karel Zak --- sys-utils/swapon.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'sys-utils/swapon.c') diff --git a/sys-utils/swapon.c b/sys-utils/swapon.c index 914e69ad4..48ec5eaac 100644 --- a/sys-utils/swapon.c +++ b/sys-utils/swapon.c @@ -649,9 +649,6 @@ static int parse_options(struct swapon_ctl *ctl) char *arg = NULL; assert(ctl->options); - assert(ctl->priority); - assert(ctl->discard); - assert(ctl->no_fail); if (mnt_optstr_get_option(ctl->options, "nofail", NULL, 0) == 0) ctl->no_fail = 1; -- cgit v1.2.3-55-g7522