libarchive: open_zipped() does not need to check extensions for e.g. gzip
[oweals/busybox.git] / libbb / correct_password.c
index 5727c65fbd7824af37e03d9c2ca4733b3b54ae1f..acadf391434c4b06b52e32f24057e50bba2512e4 100644 (file)
 
 #include "libbb.h"
 
-void FAST_FUNC nuke_str(char *str)
-{
-        if (str) {
-               while (*str)
-                       *str++ = 0;
-               /* or: memset(str, 0, strlen(str)); - not as small as above */
-       }
-}
-
 /* Ask the user for a password.
  * Return 1 without asking if PW has an empty password.
  * Return -1 on EOF, error while reading input, or timeout.