From 3f1fc332e7451187b1b9806f544bc8199fa412a8 Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Sat, 2 Apr 2016 22:18:31 -0700 Subject: [PATCH] remove unused wgetopt() method found by linting --- src/wgetopt.cpp | 8 -------- src/wgetopt.h | 1 - 2 files changed, 9 deletions(-) diff --git a/src/wgetopt.cpp b/src/wgetopt.cpp index 80ffdcc90..c2905ab0a 100644 --- a/src/wgetopt.cpp +++ b/src/wgetopt.cpp @@ -573,14 +573,6 @@ int wgetopter_t::_wgetopt_internal(int argc, wchar_t **argv, const wchar_t *opts } } -int wgetopter_t::wgetopt(int argc, wchar_t **argv, const wchar_t *optstring) -{ - return _wgetopt_internal(argc, argv, optstring, - (const struct woption *) 0, - (int *) 0, - 0); -} - int wgetopter_t::wgetopt_long(int argc, wchar_t **argv, const wchar_t *options, const struct woption *long_options, int *opt_index) { return _wgetopt_internal(argc, argv, options, long_options, opt_index, 0); diff --git a/src/wgetopt.h b/src/wgetopt.h index ad1558703..794ccc652 100644 --- a/src/wgetopt.h +++ b/src/wgetopt.h @@ -147,7 +147,6 @@ public: { } - int wgetopt(int argc, wchar_t **argv, const wchar_t *optstring); int wgetopt_long(int argc, wchar_t **argv, const wchar_t *options, const struct woption *long_options, int *opt_index); int wgetopt_long_only(int argc, wchar_t **argv, const wchar_t *options, const struct woption *long_options, int *opt_index); };