Index: trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc
===================================================================
--- trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc	(revision 12917)
+++ trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc	(revision 12967)
@@ -71,5 +71,5 @@
 {
     GLfloat color[3];
-    int first, second;
+    int first;
     first = vertex-1;
     if (first < 0)
@@ -683,5 +683,5 @@
 
 template <typename T>
-void RawDataViewer::getCalibrationDataForDisplay(const CalibDataTypes calibTypes,
+void RawDataViewer::getCalibrationDataForDisplay(const CalibDataTypes/* calibTypes*/,
                                                  const vector<T>& inputData,
                                                  const int roi,
@@ -750,5 +750,5 @@
     //hide the time markers
     int nSlicesToRemove = 60;
-    float* backupData;
+    float* backupData = 0;
     if (nRoiTM == 0) //they are written into the regular channel
     {
