add INIT_G()'s. No code changes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user