From 0dc6e31007fc30fe0bf14932ad692328cb4b3f6c Mon Sep 17 00:00:00 2001 From: Nicholas Frontiere <nfrontiere@anl.gov> Date: Sat, 3 Feb 2024 00:04:24 -0600 Subject: [PATCH] adding default return statement to function. I did not like how without VELOC it had an undefined return --- GenericIO.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GenericIO.h b/GenericIO.h index 6e435ff..9832f1f 100644 --- a/GenericIO.h +++ b/GenericIO.h @@ -463,8 +463,9 @@ public: static bool flushAll() { #ifdef GENERICIO_WITH_VELOC - return GenericFileIO_VELOC::flush(); + return GenericFileIO_VELOC::flush();//With veloc do a blocking flush of anything outstanding and return if all outstanding tasks were successful #endif + return true;//by default return that flush was successful (as it does not do anything) } static void shutdown() { -- GitLab