mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Fix compiler warnings.
Initialize all data members in initializer lists. Reorder data members in initializer list to have the same order as in the class declaration. Comment or remove unused parameters and unused variables. Convert all old style casts to the correct and explicit c++ cast like const_cast, static_cast, dynamic_cast or reinterpret_cast. In most cases static_cast is used.
This commit is contained in:
@@ -24,8 +24,8 @@ class TransferTimeoutTester : public FairMQDevice
|
||||
protected:
|
||||
virtual void Run()
|
||||
{
|
||||
bool setSndOK = false;
|
||||
bool setRcvOK = false;
|
||||
// bool setSndOK = false;
|
||||
// bool setRcvOK = false;
|
||||
bool getSndOK = false;
|
||||
bool getRcvOK = false;
|
||||
bool sendCanceling = false;
|
||||
@@ -87,7 +87,7 @@ class TransferTimeoutTester : public FairMQDevice
|
||||
}
|
||||
};
|
||||
|
||||
int main(int argc, char** argv)
|
||||
int main(int /*argc*/, char** /*argv*/)
|
||||
{
|
||||
TransferTimeoutTester timeoutTester;
|
||||
timeoutTester.CatchSignals();
|
||||
|
Reference in New Issue
Block a user