diff options
author | Lauri Kasanen <curaga@operamail.com> | 2010-11-13 23:16:05 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-11-13 23:16:05 +0100 |
commit | 2b662c5deceb43a10f815424de85c1416c379e2a (patch) | |
tree | 3ed332b64b57018487f4ccf0a5f87038217cf040 /libbb/appletlib.c | |
parent | a8dc97cb8204d2574de4d65889264427b0485f50 (diff) | |
download | busybox-w32-2b662c5deceb43a10f815424de85c1416c379e2a.tar.gz busybox-w32-2b662c5deceb43a10f815424de85c1416c379e2a.tar.bz2 busybox-w32-2b662c5deceb43a10f815424de85c1416c379e2a.zip |
libbb: remove unused variable
Signed-off-by: Lauri Kasanen <curaga@operamail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/appletlib.c')
-rw-r--r-- | libbb/appletlib.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index d7c9288cb..c417a270d 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
@@ -103,14 +103,13 @@ void FAST_FUNC bb_show_usage(void) | |||
103 | if (ENABLE_SHOW_USAGE) { | 103 | if (ENABLE_SHOW_USAGE) { |
104 | #ifdef SINGLE_APPLET_STR | 104 | #ifdef SINGLE_APPLET_STR |
105 | /* Imagine that this applet is "true". Dont suck in printf! */ | 105 | /* Imagine that this applet is "true". Dont suck in printf! */ |
106 | const char *p; | 106 | const char *usage_string = unpack_usage_messages(); |
107 | const char *usage_string = p = unpack_usage_messages(); | ||
108 | 107 | ||
109 | if (*p == '\b') { | 108 | if (*usage_string == '\b') { |
110 | full_write2_str("No help available.\n\n"); | 109 | full_write2_str("No help available.\n\n"); |
111 | } else { | 110 | } else { |
112 | full_write2_str("Usage: "SINGLE_APPLET_STR" "); | 111 | full_write2_str("Usage: "SINGLE_APPLET_STR" "); |
113 | full_write2_str(p); | 112 | full_write2_str(usage_string); |
114 | full_write2_str("\n\n"); | 113 | full_write2_str("\n\n"); |
115 | } | 114 | } |
116 | if (ENABLE_FEATURE_CLEAN_UP) | 115 | if (ENABLE_FEATURE_CLEAN_UP) |