Index: trunk/FACT++/src/Fits.cc
===================================================================
--- trunk/FACT++/src/Fits.cc	(revision 14235)
+++ trunk/FACT++/src/Fits.cc	(revision 14238)
@@ -60,9 +60,7 @@
 //! @param out Message object to use for propagating messages
 //	
-void Fits::InitDataColumns(const vector<Description> &desc, const vector<string>& dataFormat, const void* dataPointer, MessageImp* out)
+void Fits::InitDataColumns(const vector<Description> &desc, const vector<string>& dataFormat, MessageImp* out)
 {
     fDataFormats = dataFormat;
-//FIXME I removed the static assignment of the data pointer because it changes from event to event now. Remove the arg of this function
-//    fDataPointer = dataPointer;
 
     if ((desc.size() == 0) && (dataFormat.size() == 0))
Index: trunk/FACT++/src/Fits.h
===================================================================
--- trunk/FACT++/src/Fits.h	(revision 14235)
+++ trunk/FACT++/src/Fits.h	(revision 14238)
@@ -2,10 +2,5 @@
 #define FACT_Fits
 
-//#include <CCfits/CCfits>
-//#include <vector>
-
 #include "Description.h"
-//#include "MessageImp.h"
-//#include "Time.h"
 #include "FitsFile.h"
 
@@ -38,6 +33,4 @@
     vector<string> fDataFormats;
 
-    ///the pointer to the contiguous memory location where the data is stored (i.e. the dim data pointer)
-//    void* fDataPointer;
     ///the copy buffer. Required to put the standard and data variable in contguous memory
     vector<char> fCopyBuffer;
@@ -79,5 +72,5 @@
 
     ///Adds columns specific to the service being logged.
-    void InitDataColumns(const vector<Description> &desc, const vector<string>& dataFormat, const void* dataPointer, MessageImp* out);
+    void InitDataColumns(const vector<Description> &desc, const vector<string>& dataFormat, MessageImp* out);
 
     ///Opens a FITS file
Index: trunk/FACT++/src/datalogger.cc
===================================================================
--- trunk/FACT++/src/datalogger.cc	(revision 14235)
+++ trunk/FACT++/src/datalogger.cc	(revision 14238)
@@ -1653,5 +1653,5 @@
     str << "Initializing data columns for service " << sub.server << "/" << sub.service;
     Info(str);
-    sub.nightlyFile.InitDataColumns(Description::SplitDescription(evt.GetDescription()), dataFormatsLocal, evt.GetData(), this);
+    sub.nightlyFile.InitDataColumns(Description::SplitDescription(evt.GetDescription()), dataFormatsLocal, this);
 
     sub.fitsBufferAllocated = true;
