File 0001-Fix-missing-return-in-non-void-function.patch of Package silo
From 068325a4399231554e714a94eeb6ed38d531e470 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
Date: Wed, 21 Sep 2022 03:41:33 +0200
Subject: [PATCH] Fix missing return in non-void function
https://github.com/LLNL/Silo/issues/273
---
src/silo/silo.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/silo/silo.c b/src/silo/silo.c
index 2e76650..4f70fec 100644
--- a/src/silo/silo.c
+++ b/src/silo/silo.c
@@ -6481,6 +6481,7 @@ endLoop:
DBSetDir(srcFile, srcStartCwg);
DBSetDir(dstFile, dstStartCwg);
+ return 0;
}
#if 1
@@ -6657,6 +6658,7 @@ DBGetPartialObject(DBfile *dbfile, char const *name, int nvals, int ndims,
/* If dense, do partial I/O on the datasets */
/* Else... do object specific partial I/O */
/* Handle mixed values on variables */
+ return 0;
}
PUBLIC DBmaterial *
--
2.37.3