diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-12 04:42:35 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-12 04:42:35 +0300 |
commit | 31e2e7b86388e4ece09f37866bd1411f357cafbd (patch) | |
tree | d87ab658d71ea54decdf6f6c94a0de1133124ea1 /miscutils | |
parent | 1315c30fefe6e64cd2cbc95fe484b02ce70afec1 (diff) |
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-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'; |