X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestWriteSimple.cxx;h=51b3f4d9bfb2eec72b6894a36d8c492c39fbb665;hb=5d7b7ebb9dbbe72c1c3b5d14194cdf8c8f7d082f;hp=49c7a530722f85c3804f20e6a2859729cf9f8857;hpb=2e83306e5f3ef870cd6959d163a88d0731b9fcd5;p=gdcm.git diff --git a/Testing/TestWriteSimple.cxx b/Testing/TestWriteSimple.cxx index 49c7a530..51b3f4d9 100644 --- a/Testing/TestWriteSimple.cxx +++ b/Testing/TestWriteSimple.cxx @@ -10,7 +10,7 @@ int TestWriteSimple(int argc, char* argv[]) { std::cerr << "Usage :" << std::endl << argv[0] << " InputHeader OutputDicom" << std::endl; - return 0; + return 0; } std::string header = argv[1]; @@ -18,7 +18,7 @@ int TestWriteSimple(int argc, char* argv[]) gdcmHeader *f1 = new gdcmHeader( header ); gdcmFile *f2 = new gdcmFile( f1 ); - + // If the following call is important, then the API sucks. Why is it // required to allocate PixelData when we are not using it !? void* PixelData = f2->GetImageData(); //EXTREMELY IMPORTANT