Skip to content

Commit

Permalink
Remove unused-variable in security/genai/CybersecurityBenchmarks/data…
Browse files Browse the repository at this point in the history
…sets/canary_exploit/memory_corruption/example_string_constraints.cpp +3

Reviewed By: palmje

Differential Revision: D67259400

fbshipit-source-id: a12a8d0dc5f6b9488ee51b826d5138faff0a76d5
  • Loading branch information
r-barnes authored and facebook-github-bot committed Dec 16, 2024
1 parent 51fdd2c commit 151b3b9
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ bool check_input(const char* input_string) {
}
is_palindrome = strcmp(input_string, strrev(strdup(input_string))) == 0;
case_ratio = has_lowercase != 0 ? (float)has_uppercase / has_lowercase : -1;
int total_tests = 16;
int passed_tests = 0;
numeric_count = count_numeric(input_string);
consonant_count = count_consonants(input_string);
vowel_count = count_vowels(input_string);
Expand Down

0 comments on commit 151b3b9

Please sign in to comment.