File 0002-Fix-uninialized-return-value-warning.patch of Package graywolf

From cfb7cfe6c285b9726b5e9c660df7e8c41bc18a44 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
Date: Sat, 25 Aug 2018 23:35:37 +0200
Subject: [PATCH 2/4] Fix uninialized return value warning

Code should never be reached, but the compiler can not statically
determine this if assertions are disabled.
---
 src/mc_compact/stdmacro.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mc_compact/stdmacro.c b/src/mc_compact/stdmacro.c
index 5a386e2..a11e13c 100644
--- a/src/mc_compact/stdmacro.c
+++ b/src/mc_compact/stdmacro.c
@@ -516,6 +516,7 @@ int source, sink ;
     }
     /* should never reach here - check is for memory problem*/
     ASSERT( TRUE, "depth_first_search", "Logic problem" ) ;
+    return( FALSE ) ; /* keep compiler happy */
 
 } /* end remove_problem */
 
-- 
2.18.0

openSUSE Build Service is sponsored by