clean unused var and made for loop more readable

pull/15/head
Eli 2019-02-23 00:28:02 +02:00
rodzic dfb93e9f12
commit 42cac7762c
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -56,10 +56,9 @@ void argument_parser::set_options()
int argument_parser::parse(int argc, char *argv [], const char* application_text, const char* prefix_text)
{
application_path = argv[0];
argument_count = argc;
for (int i = 0; i < argc; i++)
for (int i = 0; i < argument_count; i++)
arguments[i] = argv[i];
set_options();