]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliSimulation.cxx
bugfix
[u/mrichter/AliRoot.git] / STEER / AliSimulation.cxx
index 10c8d60539c1c10f06071ce9372bf62f9cc23b80..4688765607c78d80f920dfb2d3ec60bc94bc0029 100644 (file)
@@ -710,11 +710,8 @@ Bool_t AliSimulation::ConvertRawFilesToDate(const char* dateFileName)
         if (!file) continue;
         fseek(file, 0, SEEK_END);
         unsigned long size = ftell(file);
-        fseek(file, 0, SEEK_SET);
-        if (!size) {
-          fclose(file);
-          continue;
-        }
+       fclose(file);
+        if (!size) continue;
 
         if (ldcID != prevLDC) {
           fprintf(pipe, " LDC Id %d\n", ldcID);