From 31e2e7b86388e4ece09f37866bd1411f357cafbd Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 12 Dec 2009 02:42:35 +0100 Subject: randomconfig fixes Signed-off-by: Denys Vlasenko --- miscutils/beep.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'miscutils/beep.c') diff --git a/miscutils/beep.c b/miscutils/beep.c index f3266dc2d..c17cbfdad 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'; -- cgit v1.2.3