Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
autarch committed Feb 8, 2012
1 parent bd47b77 commit 3bdcae6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/Params/Validate/XS.xs
Original file line number Diff line number Diff line change
Expand Up @@ -440,11 +440,6 @@ validate_can(SV* value, SV* method, SV* id, HV* options) {
return 1;
}

#define VALID_KEY_COUNT 9
static char* valid_keys[VALID_KEY_COUNT] = {
"callbacks", "can", "default", "depends", "isa", "optional", "regex", "type", "untaint"
};

/* validates specific parameter using supplied parameter specification */
static IV
validate_one_param(SV* value, SV* params, HV* spec, SV* id, HV* options, IV* untaint) {
Expand Down

0 comments on commit 3bdcae6

Please sign in to comment.