Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Waldvogel committed Aug 22, 2012
1 parent c564916 commit bf0ec6f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/de/bwaldvogel/liblinear/Train.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ void parse_command_line(String argv[]) {
bias = -1;
cross_validation = false;

int nr_weight = 0;

// parse options
for (i = 0; i < argv.length; i++) {
if (argv[i].charAt(0) != '-') break;
Expand All @@ -116,7 +114,6 @@ void parse_command_line(String argv[]) {
bias = atof(argv[i]);
break;
case 'w':
++nr_weight;
int weightLabel = atoi(argv[i - 1].substring(2));
double weight = atof(argv[i]);
param.weightLabel = addToArray(param.weightLabel, weightLabel);
Expand Down

0 comments on commit bf0ec6f

Please sign in to comment.