Skip to content

Commit c7b8a96

Browse files
committed
Removes warnings when -Wall is used
1 parent 2370d2d commit c7b8a96

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docopt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,10 @@ int parse_shorts(Tokens *ts, Elements *elements) {
218218
int parse_argcmd(Tokens *ts, Elements *elements) {
219219
int i;
220220
int n_commands = elements->n_commands;
221-
int n_arguments = elements->n_arguments;
221+
//int n_arguments = elements->n_arguments;
222222
Command *command;
223223
Command *commands = elements->commands;
224-
Argument *arguments = elements->arguments;
224+
//Argument *arguments = elements->arguments;
225225

226226
for (i=0; i < n_commands; i++) {
227227
command = &commands[i];

template.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,10 @@ int parse_shorts(Tokens *ts, Elements *elements) {
176176
int parse_argcmd(Tokens *ts, Elements *elements) {
177177
int i;
178178
int n_commands = elements->n_commands;
179-
int n_arguments = elements->n_arguments;
179+
//int n_arguments = elements->n_arguments;
180180
Command *command;
181181
Command *commands = elements->commands;
182-
Argument *arguments = elements->arguments;
182+
//Argument *arguments = elements->arguments;
183183

184184
for (i=0; i < n_commands; i++) {
185185
command = &commands[i];

0 commit comments

Comments
 (0)