Group :: System/Libraries
RPM: SimGear
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: SimGear-g++8.patch
Download
Download
From 9ebf11fccf502dc33ff5f5cec16669c18a19fb23 Mon Sep 17 00:00:00 2001
From: Andrey Bychkov <mrdrew@altlinux.org>
Date: Wed, 13 Feb 2019 12:26:36 +0300
Subject: [PATCH] Fix no return statement in the non-void function (according
g++8)
---
SimGear/simgear/io/HTTPRepository.cxx | 2 ++
1 file changed, 2 insertions(+)
diff --git a/SimGear/simgear/io/HTTPRepository.cxx b/SimGear/simgear/io/HTTPRepository.cxx
index 690d562..92f1e2f 100644
--- a/SimGear/simgear/io/HTTPRepository.cxx
+++ b/SimGear/simgear/io/HTTPRepository.cxx
@@ -90,6 +90,8 @@ namespace simgear
case HTTPRepository::REPO_ERROR_CANCELLED: return "cancelled";
case HTTPRepository::REPO_PARTIAL_UPDATE: return "partial update (incomplete)";
}
+
+ return "";
}
class HTTPRepoPrivate
--
2.19.2