diff OrthancServer/ServerJobs/ArchiveJob.cpp @ 2730:cb1b26a7db98

fix mingw compilation
author s.jodogne@gmail.com
date Fri, 13 Jul 2018 12:34:53 +0200
parents 228e2783ce83
children ea7aea6f6a95
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/ArchiveJob.cpp	Fri Jul 13 10:07:45 2018 +0200
+++ b/OrthancServer/ServerJobs/ArchiveJob.cpp	Fri Jul 13 12:34:53 2018 +0200
@@ -844,7 +844,7 @@
         
     if (writer_->GetStepsCount() == 0)
     {
-      writer_.reset(NULL);  // Flush all the results
+      writer_.reset();  // Flush all the results
       return JobStepResult::Success();
     }
     else
@@ -855,7 +855,7 @@
 
       if (currentStep_ == writer_->GetStepsCount())
       {
-        writer_.reset(NULL);  // Flush all the results
+        writer_.reset();  // Flush all the results
         return JobStepResult::Success();
       }
       else