diff options
Diffstat (limited to 'miscutils/beep.c')
-rw-r--r-- | miscutils/beep.c | 6 |
1 files changed, 4 insertions, 2 deletions
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'; |