diff --git a/MAC/APL/PIC/RSP_Driver/src/RSPDriver.cc b/MAC/APL/PIC/RSP_Driver/src/RSPDriver.cc
index 6ea221dac188276654684e628970b60b44a8a249..78eadbf4b7ebd1f17343cd3118bb80f3f4595e78 100644
--- a/MAC/APL/PIC/RSP_Driver/src/RSPDriver.cc
+++ b/MAC/APL/PIC/RSP_Driver/src/RSPDriver.cc
@@ -204,6 +204,7 @@ RSPDriver::RSPDriver(string name) :
 	RCUCables*		cables = new RCUCables("Attenuation.conf", "CableDelays.conf");
 	CableSettings*	cableSet = new CableSettings(cables);
 	delete cables;
+	(void)cableSet; // prevent compiler warning
 
 	LOG_DEBUG("Trying to load delay settings for synchronising the PPS between the subracks");
     readPPSdelaySettings();
diff --git a/MAC/APL/PIC/RSP_Driver/test/tCableAttenuation.cc b/MAC/APL/PIC/RSP_Driver/test/tCableAttenuation.cc
index bef0760cbb1a359c4f71ff90fadf87829153822c..c713949a6f753e67e58fe6d31de1c2a9c408e356 100644
--- a/MAC/APL/PIC/RSP_Driver/test/tCableAttenuation.cc
+++ b/MAC/APL/PIC/RSP_Driver/test/tCableAttenuation.cc
@@ -32,9 +32,9 @@
 
 using namespace LOFAR;
 
-int main (int	argc, char*	argv[])
+int main (int, char*	argv[])
 {
-	INIT_LOGGER("tCableAttenuation");
+	INIT_LOGGER(argv[0]);
 
 	// good file
 	CableAttenuation	CA1("tCableAttenuation.in_1");	
diff --git a/MAC/APL/PIC/RSP_Driver/test/tRCUCables.cc b/MAC/APL/PIC/RSP_Driver/test/tRCUCables.cc
index 2721862bd4811875673a9ac8a730e17881dd955e..77f8040944adc1c396366e9125aa5449d857d69d 100644
--- a/MAC/APL/PIC/RSP_Driver/test/tRCUCables.cc
+++ b/MAC/APL/PIC/RSP_Driver/test/tRCUCables.cc
@@ -32,9 +32,9 @@
 
 using namespace LOFAR;
 
-int main (int	argc, char*	argv[])
+int main (int, char*	argv[])
 {
-	INIT_LOGGER("tRCUCables");
+	INIT_LOGGER(argv[0]);
 
 	// good file
 	RCUCables	RC1("tRCUCables.in_CableAtts", "tRCUCables.in_1");
diff --git a/MAC/APL/PIC/RSP_Protocol/test/tRCUSettings.cc b/MAC/APL/PIC/RSP_Protocol/test/tRCUSettings.cc
index f0fa60ec4a6f73012f0a672ee28689399aa7ead4..0a34be9429f4649ea13631002b3ee6adced960ea 100644
--- a/MAC/APL/PIC/RSP_Protocol/test/tRCUSettings.cc
+++ b/MAC/APL/PIC/RSP_Protocol/test/tRCUSettings.cc
@@ -48,8 +48,10 @@ using namespace LOFAR;
 using namespace RSP_Protocol;
 
 // main
-int main (int argc, char*	argv[])
+int main (int, char*	argv[])
 {
+	INIT_LOGGER(argv[0]);
+
 	RCUSettings		RS;
 	RS().resize(1);
 
diff --git a/MAC/APL/RTCCommon/test/tBlitz.cc b/MAC/APL/RTCCommon/test/tBlitz.cc
index bd67240e645c8a47d1b3a8844119fa74cd7cd315..943a329996b9ef5de26c176fa7d74a08761c6638 100644
--- a/MAC/APL/RTCCommon/test/tBlitz.cc
+++ b/MAC/APL/RTCCommon/test/tBlitz.cc
@@ -31,8 +31,10 @@
 using namespace LOFAR;
 using namespace blitz;
 
-int main (int	argc, char*	argv[])
+int main (int, char*	argv[])
 {
+	INIT_LOGGER(argv[0]);
+
 	// test empty blitz array
 	cout << "Testing 2 dimensional empty blitz array..." << endl;
 	Array<int,2>	emptyArr;	// two dimensional empty array.
diff --git a/MAC/APL/RTCCommon/test/tMarshallBlitz.cc b/MAC/APL/RTCCommon/test/tMarshallBlitz.cc
index d675dd70d5342f05eaa4b66a808eaf8d6678612a..3896de521cc909b0577c84af469ef3daebf1f6a9 100644
--- a/MAC/APL/RTCCommon/test/tMarshallBlitz.cc
+++ b/MAC/APL/RTCCommon/test/tMarshallBlitz.cc
@@ -32,8 +32,10 @@
 
 using namespace LOFAR;
 
-int main (int	argc, char*	argv[])
+int main (int, char*	argv[])
 {
+	INIT_LOGGER(argv[0]);
+
 	char	buf[4096];
 	int		offset(0);
 
diff --git a/MAC/APL/RTCCommon/test/tNsTimestamp.cc b/MAC/APL/RTCCommon/test/tNsTimestamp.cc
index a81f87dadf5e2661dce9b132c3ac7889760cb579..e89e1d8cda800ba41b8fdba69f9949464f6805a9 100644
--- a/MAC/APL/RTCCommon/test/tNsTimestamp.cc
+++ b/MAC/APL/RTCCommon/test/tNsTimestamp.cc
@@ -34,8 +34,10 @@
 using namespace LOFAR;
 using namespace RTC;
 
-int main (int	argc, char*	argv[])
+int main (int, char*	argv[])
 {
+	INIT_LOGGER(argv[0]);
+
 	cout << "\n--- Testing constructors ---" << endl;
 	NsTimestamp		TS1;
 	cout << "TS1: " << TS1 << endl;
diff --git a/MAC/APL/RTCCommon/test/tTimestamp.cc b/MAC/APL/RTCCommon/test/tTimestamp.cc
index 705c7fa94533eee414ad3a05a7fb8ff7c8dba299..90578b30ac0feb9705dc1dc2e28e876b50f322f0 100644
--- a/MAC/APL/RTCCommon/test/tTimestamp.cc
+++ b/MAC/APL/RTCCommon/test/tTimestamp.cc
@@ -34,8 +34,10 @@
 using namespace LOFAR;
 using namespace RTC;
 
-int main (int	argc, char*	argv[])
+int main (int, char*	argv[])
 {
+	INIT_LOGGER(argv[0]);
+
 	cout << "\n--- Testing constructors ---" << endl;
 	Timestamp		TS1;
 	cout << "TS1: " << TS1 << endl;