diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/appletlib.c | 2 | ||||
-rw-r--r-- | libbb/nuke_str.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index f155d0908..319bcc263 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
@@ -737,7 +737,7 @@ static void install_links(const char *busybox, int use_symbolic_links, | |||
737 | * busybox.h::bb_install_loc_t, or else... */ | 737 | * busybox.h::bb_install_loc_t, or else... */ |
738 | int (*lf)(const char *, const char *); | 738 | int (*lf)(const char *, const char *); |
739 | char *fpc; | 739 | char *fpc; |
740 | const char *appname = applet_names; | 740 | const char *appname = applet_names; |
741 | unsigned i; | 741 | unsigned i; |
742 | int rc; | 742 | int rc; |
743 | 743 | ||
diff --git a/libbb/nuke_str.c b/libbb/nuke_str.c index 240e68004..b5385e956 100644 --- a/libbb/nuke_str.c +++ b/libbb/nuke_str.c | |||
@@ -12,7 +12,7 @@ | |||
12 | 12 | ||
13 | void FAST_FUNC nuke_str(char *str) | 13 | void FAST_FUNC nuke_str(char *str) |
14 | { | 14 | { |
15 | if (str) { | 15 | if (str) { |
16 | while (*str) | 16 | while (*str) |
17 | *str++ = 0; | 17 | *str++ = 0; |
18 | /* or: memset(str, 0, strlen(str)); - not as small as above */ | 18 | /* or: memset(str, 0, strlen(str)); - not as small as above */ |