From 16714245f9a16ce3725aab079aea7b0d28c6b32f Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 21 Sep 2011 01:59:15 +0200 Subject: add INIT_G()'s. No code changes. Signed-off-by: Denys Vlasenko --- util-linux/swaponoff.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util-linux/swaponoff.c') diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c index e53e24c71..b3057b309 100644 --- a/util-linux/swaponoff.c +++ b/util-linux/swaponoff.c @@ -48,6 +48,7 @@ struct globals { #else #define g_flags 0 #endif +#define INIT_G() do { } while (0) static int swap_enable_disable(char *device) { @@ -111,6 +112,8 @@ int swap_on_off_main(int argc UNUSED_PARAM, char **argv) { int ret; + INIT_G(); + #if !ENABLE_FEATURE_SWAPON_PRI ret = getopt32(argv, "a"); #else -- cgit v1.2.3