diff options
| author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-08 16:21:05 +0200 |
|---|---|---|
| committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-08 16:21:05 +0200 |
| commit | ed1e38537b58e04eec2d5f519ebcb74b85716c83 (patch) | |
| tree | 8c3e1c23d2e773ae3cf8ed94e3f7dbe7c7e0f1a5 /src/cli | |
| parent | de6c4a0903325d14fed89de6cef2572dc141c2fe (diff) | |
trivial: remove unused option_index's
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/cli')
| -rw-r--r-- | src/cli/CLI.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cli/CLI.cpp b/src/cli/CLI.cpp index b9c0397a..d4bb333d 100644 --- a/src/cli/CLI.cpp +++ b/src/cli/CLI.cpp @@ -282,10 +282,9 @@ int main(int argc, char** argv) while (1) { - int option_index; /* Do not use colons, arguments are handled after parsing all options. */ int c = getopt_long_only(argc, argv, "?Vrdlfyib", - longopts, &option_index); + longopts, NULL); #define SET_OP(newop) \ if (op != -1 && op != newop) \ |
