Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
gusnan committed Mar 5, 2024
1 parent 51cb850 commit 967d952
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/scripts/scan_examples.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ typedef struct {
char *filename;
} lookup_t;
static lookup_t *lookup;
static int number_of_items = 0;
static int compare(const void *pa, const void *pb) {
int val = ((const lookup_t *) pa)->count - ((const lookup_t *) pb)->count;

Expand Down Expand Up @@ -93,8 +92,6 @@ int main(int argc, char* argv[])
lookup[j].filename = argv[j];
}

number_of_items = argc;

for (j = 1; j < argc; ++j) {
d_open_input(argv[j]);
while (d_getline(line)) {
Expand Down

0 comments on commit 967d952

Please sign in to comment.