Bug fix/clang tidy warnings part2 (#296)

* core.StackAddressEscape

* cplusplus.VirtualCall

* clang-analyzer-deadcode.DeadStores

* clang-analyzer-core.NullDereference

* clang-analyzer-core.NonNullParamChecker

* change to nolint

---------

Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
This commit is contained in:
gtsoul-tech
2024-06-04 16:18:17 +03:00
committed by GitHub
parent 4113a1f150
commit 8fc1a7efff
10 changed files with 34 additions and 26 deletions

View File

@@ -234,13 +234,13 @@ void processArgs(int argc, char *argv[], vector<BenchmarkSigs> &sigSets,
#endif
;
int in_sigfile = 0;
int do_per_scan = 0;
int do_compress = 0;
static int do_per_scan = 0;
static int do_compress = 0;
int do_compress_size = 0;
int do_echo_matches = 0;
int do_sql_output = 0;
static int do_echo_matches = 0;
static int do_sql_output = 0;
int option_index = 0;
int literalFlag = 0;
static int literalFlag = 0;
vector<string> sigFiles;
static struct option longopts[] = {