aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-09-02 17:00:45 +0200
committerLukas Larsson <[email protected]>2013-09-02 17:00:45 +0200
commit2f1007e60d1a0817e5d80e46c3ab21501d1f714b (patch)
treea521cc5b6ae181382504d2c91bb516d269dcc05e /erts
parent3515e75661a0e2c5a37eb226b9f2ea94b122e87b (diff)
parent06ab9f03fef5883a39591edf9406274a63606724 (diff)
downloadotp-2f1007e60d1a0817e5d80e46c3ab21501d1f714b.tar.gz
otp-2f1007e60d1a0817e5d80e46c3ab21501d1f714b.tar.bz2
otp-2f1007e60d1a0817e5d80e46c3ab21501d1f714b.zip
Merge branch 'sv-sched-percentage-option' into maint
* sv-sched-percentage-option: Silence gcc warnings in non-smp build
Diffstat (limited to 'erts')
-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
}