]> Creatis software - gdcm.git/blobdiff - Example/Write.cxx
ENH: Unused var
[gdcm.git] / Example / Write.cxx
index 120f73cb03534d8a5b84eba432a747af77736708..43e376870c193c597def1025a3378e7279d475bc 100644 (file)
@@ -1,9 +1,6 @@
 #include <iostream>
-#include "gdcm.h"
-#include "gdcmHeader.h"
-#include "gdcmDocument.h"
-
 #include <stdio.h>
+#include "gdcm.h"
 
 int main(int argc, char* argv[])
 {  
@@ -48,7 +45,7 @@ int main(int argc, char* argv[])
      
    toto = argv[1]; 
 
-   e1 = new gdcmHeader(toto.c_str(), false, true);
+   e1 = new gdcmHeader( toto.c_str() );
    if (!e1->IsReadable()) {
        std::cerr << "Sorry, not a Readable DICOM / ACR File"  <<std::endl;
        return 0;