Skip to content

Commit

Permalink
Remove unused variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
0-wiz-0 committed Sep 23, 2023
1 parent 0841738 commit c36caa3
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 16 deletions.
2 changes: 0 additions & 2 deletions regress/fuzzers/zip_read_encrypted_file_fuzzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
zip_t *za;
zip_error_t error;
char buf[32768];
zip_int64_t i, n;
zip_file_t *f;

if ((src = zip_source_buffer_create(data, size, 0, &error)) == NULL) {
zip_error_fini(&error);
Expand Down
2 changes: 0 additions & 2 deletions regress/fuzzers/zip_read_file_fuzzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ extern "C" {

int
LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
zip_source_t *src;
zip_t *za;
zip_error_t error;
char buf[32768];
zip_int64_t i, n;
zip_file_t *f;
Expand Down
6 changes: 0 additions & 6 deletions regress/fuzzers/zip_write_encrypt_aes256_file_fuzzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ extern "C" {

int
LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
zip_source_t *src;
zip_t *za;
char buf[32768];
zip_int64_t i, n;
zip_file_t *f;

std::string path = random_string(20) + "_aes256" + ".zip";
std::string password = random_string(20);
std::string file = random_string(20);
Expand Down
6 changes: 0 additions & 6 deletions regress/fuzzers/zip_write_encrypt_pkware_file_fuzzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ different file types.

int
LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
zip_source_t *src;
zip_t *za;
char buf[32768];
zip_int64_t i, n;
zip_file_t *f;

std::string path = random_string(20) + "_pkware" + ".zip";
std::string password = random_string(20);
std::string file = random_string(20);
Expand Down

0 comments on commit c36caa3

Please sign in to comment.