mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
Fix remaining marked as done const* cppcheck warnings
This commit is contained in:
@@ -227,7 +227,7 @@ struct BenchmarkSigs {
|
||||
/** Process command-line arguments. Prints usage and exits on error. */
|
||||
static
|
||||
void processArgs(int argc, char *argv[], vector<BenchmarkSigs> &sigSets,
|
||||
UNUSED unique_ptr<Grey> &grey) {
|
||||
UNUSED const unique_ptr<Grey> &grey) {
|
||||
const char options[] = "-b:c:Cd:e:E:G:hHi:n:No:p:PsS:Vw:z:"
|
||||
#if defined(HAVE_DECL_PTHREAD_SETAFFINITY_NP)
|
||||
"T:" // add the thread flag
|
||||
|
@@ -491,7 +491,7 @@ void usage() {
|
||||
}
|
||||
|
||||
static
|
||||
void processArgs(int argc, char *argv[], UNUSED unique_ptr<Grey> &grey) {
|
||||
void processArgs(int argc, char *argv[], UNUSED const unique_ptr<Grey> &grey) {
|
||||
const char options[] = "e:E:s:z:hHLNV8G:T:BC";
|
||||
bool signatureSet = false;
|
||||
int literalFlag = 0;
|
||||
|
Reference in New Issue
Block a user