aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-09-02 16:27:26 +0200
committerLukas Larsson <[email protected]>2013-09-02 16:27:26 +0200
commit06ab9f03fef5883a39591edf9406274a63606724 (patch)
treeda7a7345ade81378aae161bdec2c80bbe6c04ab7
parent69e01c0f5d332d34b95575203ae9d7829b9a45fa (diff)
downloadotp-06ab9f03fef5883a39591edf9406274a63606724.tar.gz
otp-06ab9f03fef5883a39591edf9406274a63606724.tar.bz2
otp-06ab9f03fef5883a39591edf9406274a63606724.zip
Silence gcc warnings in non-smp build
-rw-r--r--erts/emulator/beam/erl_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_init.c b/erts/emulator/beam/erl_init.c
index f7bfa91b54..8c4fffa75b 100644
--- a/erts/emulator/beam/erl_init.c
+++ b/erts/emulator/beam/erl_init.c
@@ -884,6 +884,10 @@ early_init(int *argc, char **argv) /*
erts_usage();
}
}
+#else
+ /* Silence gcc warnings */
+ (void)schdlrs_percentage;
+ (void)schdlrs_onln_percentage;
#endif
}