diff OrthancFramework/Sources/SystemToolbox.cpp @ 4223:3d6f14a05db1

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 30 Sep 2020 16:25:48 +0200
parents 4d42408da117
children c8754c4c1862
line wrap: on
line diff
--- a/OrthancFramework/Sources/SystemToolbox.cpp	Wed Sep 30 15:53:17 2020 +0200
+++ b/OrthancFramework/Sources/SystemToolbox.cpp	Wed Sep 30 16:25:48 2020 +0200
@@ -308,7 +308,7 @@
       // https://stackoverflow.com/a/23826489/881731
       f.flush();
 
-      bool success = false;
+      bool success;
 
       /**
        * "f->handle()" corresponds to "FILE*" (aka "HANDLE") on