Debian Codegraph @

debian/patches/0008-Fix-FTBFS-with-GCC-6.patch

raw symbols SCIP
1 From: "Dr. Tobias Quathamer" <[email protected]>
2 Date: Tue, 2 Feb 2016 12:11:05 +0100
3 Subject: Fix FTBFS with GCC 6
4
5 ---
6 src/beerxmlreader.cpp | 4 +++-
7 1 file changed, 3 insertions(+), 1 deletion(-)
8
9 diff --git a/src/beerxmlreader.cpp b/src/beerxmlreader.cpp
10 index 9580f93..fb363b2 100644
11 --- a/src/beerxmlreader.cpp
12 +++ b/src/beerxmlreader.cpp
13 @@ -254,7 +254,9 @@ Recipe BeerXmlReader::readSingleRecipe()
14 }
15 if (hasError()) {
16 raiseError("Problem reading recipe");
17 - return false;
18 + // Ensure an empty title, so that the recipe does not get included
19 + recipe.setTitle("");
20 + return recipe;
21 }
22
23 // set grain use according to recipe type