Skip to content
Snippets Groups Projects
Commit 9623c54b authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #1418: Fixed compiler warnings

parent 75acae29
Branches
Tags
No related merge requests found
...@@ -892,6 +892,8 @@ void ChildControl::_startDaemonOffline(const string& hostname) ...@@ -892,6 +892,8 @@ void ChildControl::_startDaemonOffline(const string& hostname)
// //
void ChildControl::_printStartDaemonMap(const string& actionName) void ChildControl::_printStartDaemonMap(const string& actionName)
{ {
(void)actionName; // prevent compiler warning
#if 0 #if 0
LOG_DEBUG_STR("_printStartDaemonMap(" << actionName <<")"); LOG_DEBUG_STR("_printStartDaemonMap(" << actionName <<")");
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
using namespace LOFAR; using namespace LOFAR;
using namespace LOFAR::APLCommon; using namespace LOFAR::APLCommon;
int main (int argc, char* argv[]) int main (int, char* argv[])
{ {
INIT_LOGGER(argv[0]); INIT_LOGGER(argv[0]);
......
...@@ -38,8 +38,10 @@ void doTest(int antNr, int antType, AntennaMapper& AM) ...@@ -38,8 +38,10 @@ void doTest(int antNr, int antType, AntennaMapper& AM)
<< AM.YRCU(antNr) << " using input " << AM.RCUinput(antNr, antType) << endl; << AM.YRCU(antNr) << " using input " << AM.RCUinput(antNr, antType) << endl;
} }
int main (int argc, char* argv[]) int main (int, char *argv[])
{ {
INIT_LOGGER(argv[0]);
// rcus, lbas, hbas // rcus, lbas, hbas
AntennaMapper AMCore (96, 96, 48); AntennaMapper AMCore (96, 96, 48);
AntennaMapper AMRemote(96, 96, 0); AntennaMapper AMRemote(96, 96, 0);
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
using namespace LOFAR; using namespace LOFAR;
using namespace LOFAR::APLCommon; using namespace LOFAR::APLCommon;
int main (int argc, char* argv[]) int main (int, char* argv[])
{ {
INIT_LOGGER(argv[0]); INIT_LOGGER(argv[0]);
......
...@@ -138,9 +138,9 @@ CTState::CTstateNr getNextState(CTState::CTstateNr theCurrentState, ...@@ -138,9 +138,9 @@ CTState::CTstateNr getNextState(CTState::CTstateNr theCurrentState,
} }
} }
int main (int argc, char* argv[]) { int main (int, char* argv[]) {
INIT_LOGGER(basename(argv[0])); INIT_LOGGER(argv[0]);
CTState cts; CTState cts;
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
using namespace LOFAR; using namespace LOFAR;
using namespace LOFAR::APLCommon; using namespace LOFAR::APLCommon;
int main (int argc, char* argv[]) int main (int, char* argv[])
{ {
INIT_LOGGER(argv[0]); INIT_LOGGER(argv[0]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment