summaryrefslogtreecommitdiff
path: root/miscutils/flashcp.c
diff options
context:
space:
mode:
authorManuel Zerpies2012-09-27 16:06:34 +0200
committerDenys Vlasenko2012-09-27 16:06:34 +0200
commitd1097988825aeec1706d86cc4941d6812735f868 (patch)
tree43b156231e391a8f924d9199b1ab7332d5a8e82c /miscutils/flashcp.c
parentb2320370be14811459718b9fe418efed75ea3615 (diff)
downloadbusybox-d1097988825aeec1706d86cc4941d6812735f868.zip
busybox-d1097988825aeec1706d86cc4941d6812735f868.tar.gz
flashcp: remove unused variable opts
Signed-off-by: Manuel Zerpies <manuel.f.zerpies@ww.stud.uni-erlangen.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/flashcp.c')
-rw-r--r--miscutils/flashcp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/miscutils/flashcp.c b/miscutils/flashcp.c
index 790f9c0..81cde90 100644
--- a/miscutils/flashcp.c
+++ b/miscutils/flashcp.c
@@ -50,7 +50,6 @@ int flashcp_main(int argc UNUSED_PARAM, char **argv)
int fd_f, fd_d; /* input file and mtd device file descriptors */
int i;
uoff_t erase_count;
- unsigned opts;
struct mtd_info_user mtd;
struct erase_info_user e;
struct stat statb;
@@ -59,7 +58,7 @@ int flashcp_main(int argc UNUSED_PARAM, char **argv)
RESERVE_CONFIG_UBUFFER(buf2, BUFSIZE);
opt_complementary = "=2"; /* exactly 2 non-option args: file, dev */
- opts = getopt32(argv, "v");
+ /*opts =*/ getopt32(argv, "v");
argv += optind;
// filename = *argv++;
// devicename = *argv;