diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-12-31 23:22:36 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-12-31 23:22:36 +0100 |
commit | 198b02f7dd61c6cb9fd4c379dc56edcf537a7ee1 (patch) | |
tree | 055b2ab0f2636e100781ddefdbf95417e44bb6df /libbb/correct_password.c | |
parent | 61be8e46a80749fe5bb16bc8f831c689d21a4e34 (diff) | |
download | busybox-w32-198b02f7dd61c6cb9fd4c379dc56edcf537a7ee1.tar.gz busybox-w32-198b02f7dd61c6cb9fd4c379dc56edcf537a7ee1.tar.bz2 busybox-w32-198b02f7dd61c6cb9fd4c379dc56edcf537a7ee1.zip |
fix failures found by randomconfig builds
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/correct_password.c')
-rw-r--r-- | libbb/correct_password.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libbb/correct_password.c b/libbb/correct_password.c index 5727c65fb..acadf3914 100644 --- a/libbb/correct_password.c +++ b/libbb/correct_password.c | |||
@@ -30,15 +30,6 @@ | |||
30 | 30 | ||
31 | #include "libbb.h" | 31 | #include "libbb.h" |
32 | 32 | ||
33 | void FAST_FUNC nuke_str(char *str) | ||
34 | { | ||
35 | if (str) { | ||
36 | while (*str) | ||
37 | *str++ = 0; | ||
38 | /* or: memset(str, 0, strlen(str)); - not as small as above */ | ||
39 | } | ||
40 | } | ||
41 | |||
42 | /* Ask the user for a password. | 33 | /* Ask the user for a password. |
43 | * Return 1 without asking if PW has an empty password. | 34 | * Return 1 without asking if PW has an empty password. |
44 | * Return -1 on EOF, error while reading input, or timeout. | 35 | * Return -1 on EOF, error while reading input, or timeout. |