aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-02-01 13:45:04 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-02-01 13:45:04 +0100
commitc8e18ca12c66bc95a30a7d41a7aff245c352d2c2 (patch)
tree6a85c518925db63fc6d6972a1bf5fffaab988382 /libbb
parente936c6d1c501517a68404612235c79e0a3600fad (diff)
downloadbusybox-w32-c8e18ca12c66bc95a30a7d41a7aff245c352d2c2.tar.gz
busybox-w32-c8e18ca12c66bc95a30a7d41a7aff245c352d2c2.tar.bz2
busybox-w32-c8e18ca12c66bc95a30a7d41a7aff245c352d2c2.zip
remove now-unneeded memset
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/bb_askpass.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libbb/bb_askpass.c b/libbb/bb_askpass.c
index bdb756659..bf4578050 100644
--- a/libbb/bb_askpass.c
+++ b/libbb/bb_askpass.c
@@ -55,7 +55,6 @@ char* FAST_FUNC bb_ask(const int fd, int timeout, const char *prompt)
55 55
56 if (!passwd) 56 if (!passwd)
57 passwd = xmalloc(sizeof_passwd); 57 passwd = xmalloc(sizeof_passwd);
58 memset(passwd, 0, sizeof_passwd);
59 ret = passwd; 58 ret = passwd;
60 i = 0; 59 i = 0;
61 while (1) { 60 while (1) {