aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/otrx/src/otrx.c
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-11-16 10:15:56 +0100
committerRafał Miłecki <rafal@milecki.pl>2017-11-17 11:30:31 +0100
commitab8f20c18dd34d61371d2ab30ad5e923d70aef7c (patch)
treef6cea34c25a1896c082315e529b077da3d3e643f /package/utils/otrx/src/otrx.c
parent146326c454c64c59e9243b1b51913edc0dcf98f5 (diff)
downloadupstream-ab8f20c18dd34d61371d2ab30ad5e923d70aef7c.tar.gz
upstream-ab8f20c18dd34d61371d2ab30ad5e923d70aef7c.tar.bz2
upstream-ab8f20c18dd34d61371d2ab30ad5e923d70aef7c.zip
otrx: drop unused otrx_create_parse_options function
It was there in case of adding some "create" command options that should be parsed before actually creating the output image. It seems we don't need any at this point so let's drop this function for now. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'package/utils/otrx/src/otrx.c')
-rw-r--r--package/utils/otrx/src/otrx.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/package/utils/otrx/src/otrx.c b/package/utils/otrx/src/otrx.c
index add111aa61..3b7cf04859 100644
--- a/package/utils/otrx/src/otrx.c
+++ b/package/utils/otrx/src/otrx.c
@@ -228,9 +228,6 @@ out:
* Create
**************************************************/
-static void otrx_create_parse_options(int argc, char **argv) {
-}
-
static ssize_t otrx_create_append_file(FILE *trx, const char *in_path) {
FILE *in;
size_t bytes;
@@ -334,9 +331,6 @@ static int otrx_create(int argc, char **argv) {
}
trx_path = argv[2];
- optind = 3;
- otrx_create_parse_options(argc, argv);
-
trx = fopen(trx_path, "w+");
if (!trx) {
fprintf(stderr, "Couldn't open %s\n", trx_path);