Skip to content

Commit

Permalink
Fix Werror/Wpedantic issue
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Nov 21, 2023
1 parent 5c6e32c commit 22a77ee
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/mmseqs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void init() {
}
void (*initCommands)(void) = init;

DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

std::vector<DatabaseDownload> externalDownloads = {};
std::vector<KmerThreshold> externalThreshold = {};
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestAlignment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "Matcher.h"

const char* binary_name = "test_alignment";
DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

int main (int, const char**) {
const size_t kmer_size=6;
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestAlignmentPerformance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "StripedSmithWaterman.h"

const char* binary_name = "test_alignmentperformance";
DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

#define MAX_FILENAME_LIST_FILES 4096

Expand Down
2 changes: 1 addition & 1 deletion src/test/TestAlignmentTraceback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "Parameters.h"

const char* binary_name = "test_alignmenttraceback";
DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

struct scores{
short H;
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestAlp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Contents: pairwise alignment algorithms
#include "sls_alignment_evaluer.hpp"

const char* binary_name = "test_alp";
DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

using namespace Sls;
using namespace std;
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestCompositionBias.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "Parameters.h"

const char* binary_name = "test_compositionbias";
DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

void calcLocalAaBiasCorrection(Sequence* seq, SubstitutionMatrix * m){
const int windowSize = 40;
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestDiagonalScoring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "Parameters.h"

const char* binary_name = "test_diagonalscoring";
DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

int main (int, const char**) {
size_t kmer_size = 6;
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestDiagonalScoringPerformance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ KSEQ_INIT(int, read)
#include "Parameters.h"

const char* binary_name = "test_diagonalscoringperformance";
DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

int main (int, const char**) {
size_t kmer_size = 6;
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestKmerGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "Parameters.h"

const char* binary_name = "test_kmergenerator";
DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

int main (int, const char**) {
const size_t kmer_size=6;
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestKmerNucl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "Orf.h"

const char* binary_name = "test_kmernucl";
DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

std::string kmerToSting(size_t idx, int size) {
char output[32];
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestKmerScore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "Parameters.h"

const char* binary_name = "test_kmerscore";
DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

int main (int, const char**) {
const size_t kmer_size = 6;
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestMultipleAlignment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "Parameters.h"

const char* binary_name = "test_multiplealignment";
DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

int main(int, const char**) {
Parameters& par = Parameters::getInstance();
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestPSSM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "MultipleAlignment.h"

const char* binary_name = "test_pssm";
DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

int main (int, const char**) {
Parameters& par = Parameters::getInstance();
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestPSSMPrune.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <string.h>

const char* binary_name = "test_pssmprune";
DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

int main (int, const char**) {
Parameters& par = Parameters::getInstance();
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestProfileAlignment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "Parameters.h"

const char* binary_name = "test_profilealignment";
DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

int main (int, const char**) {
const size_t kmer_size=6;
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestReduceMatrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "Parameters.h"

const char* binary_name = "test_reducematrix";
DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

int main (int, const char**) {
const int reductionAlphabetSize = 17;
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestScoreMatrixSerialization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "Debug.h"

const char* binary_name = "test_scorematrixserialization";
DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

int main (int, const char**) {
Parameters& par = Parameters::getInstance();
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestSequenceIndex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "Parameters.h"

const char* binary_name = "test_sequenceindex";
DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

int main (int, const char**) {
size_t kmer_size = 6;
Expand Down
2 changes: 1 addition & 1 deletion src/test/TestTanTan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "Parameters.h"

const char* binary_name = "test_tantan";
DEFAULT_PARAMETER_SINGLETON_INIT;
DEFAULT_PARAMETER_SINGLETON_INIT

int main (int, const char**) {
const size_t kmer_size = 6;
Expand Down

0 comments on commit 22a77ee

Please sign in to comment.