summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenys Vlasenko2009-12-12 02:42:35 +0100
committerDenys Vlasenko2009-12-12 02:42:35 +0100
commit31e2e7b86388e4ece09f37866bd1411f357cafbd (patch)
treed87ab658d71ea54decdf6f6c94a0de1133124ea1 /miscutils
parent1315c30fefe6e64cd2cbc95fe484b02ce70afec1 (diff)
downloadbusybox-31e2e7b86388e4ece09f37866bd1411f357cafbd.zip
busybox-31e2e7b86388e4ece09f37866bd1411f357cafbd.tar.gz
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/beep.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/miscutils/beep.c b/miscutils/beep.c
index f3266dc..c17cbfd 100644
--- a/miscutils/beep.c
+++ b/miscutils/beep.c
@@ -32,8 +32,10 @@ int beep_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int beep_main(int argc, char **argv)
{
int speaker = get_console_fd_or_die();
- unsigned length, delay, rep;
- unsigned tickrate_div_freq;
+ unsigned tickrate_div_freq = tickrate_div_freq; /* for compiler */
+ unsigned length = length;
+ unsigned delay = delay;
+ unsigned rep = rep;
int c;
c = 'n';