comparison 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
comparison
equal deleted inserted replaced
4222:7461f98c23a0 4223:3d6f14a05db1
306 if (callFsync) 306 if (callFsync)
307 { 307 {
308 // https://stackoverflow.com/a/23826489/881731 308 // https://stackoverflow.com/a/23826489/881731
309 f.flush(); 309 f.flush();
310 310
311 bool success = false; 311 bool success;
312 312
313 /** 313 /**
314 * "f->handle()" corresponds to "FILE*" (aka "HANDLE") on 314 * "f->handle()" corresponds to "FILE*" (aka "HANDLE") on
315 * Microsoft Windows, and to "int" (file descriptor) on other 315 * Microsoft Windows, and to "int" (file descriptor) on other
316 * systems: 316 * systems: