aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-09-02 17:00:53 +0200
committerLukas Larsson <[email protected]>2013-09-02 17:00:53 +0200
commit1cbfe6f92b7fbad2352ac9eeba528208f8aa4349 (patch)
treef8507515d67270a6613b4ecbe4cadbba3354ec37 /erts/emulator
parentc88a0d41c4ecaf0b655354c612d57f49e031c6c8 (diff)
parent2f1007e60d1a0817e5d80e46c3ab21501d1f714b (diff)
downloadotp-1cbfe6f92b7fbad2352ac9eeba528208f8aa4349.tar.gz
otp-1cbfe6f92b7fbad2352ac9eeba528208f8aa4349.tar.bz2
otp-1cbfe6f92b7fbad2352ac9eeba528208f8aa4349.zip
Merge branch 'maint'
* maint: Silence gcc warnings in non-smp build
Diffstat (limited to 'erts/emulator')
-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
}