diff options
author | Geert Hendrickx | 2021-10-06 23:04:42 +0200 |
---|---|---|
committer | Geert Hendrickx | 2021-10-06 23:04:42 +0200 |
commit | 983874bf462c2e914a524bf50286997bef02ad75 (patch) | |
tree | d46c6c445f9d3e3ab84c488d39b2be91ba27dcfe /spamprobe-returntype.patch | |
parent | 0b0a005041143219cb61256d2837e3c5593dbe29 (diff) | |
download | aur-983874bf462c2e914a524bf50286997bef02ad75.tar.gz |
Proper fix.
warning: control reaches end of non-void function [-Wreturn-type]
Diffstat (limited to 'spamprobe-returntype.patch')
-rw-r--r-- | spamprobe-returntype.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/spamprobe-returntype.patch b/spamprobe-returntype.patch new file mode 100644 index 000000000000..4f356bdf4923 --- /dev/null +++ b/spamprobe-returntype.patch @@ -0,0 +1,30 @@ +--- src/parser/PngParser.cc.orig 2021-10-06 22:49:53.369697387 +0200 ++++ src/parser/PngParser.cc 2021-10-06 22:51:06.073959192 +0200 +@@ -68,6 +68,7 @@ + } catch (runtime_error &ex) { + return false; + } ++ return true; + } + + void PngParser::initializeImage() +--- src/parser/JpegParser.cc.orig 2006-11-17 08:11:08.000000000 +0100 ++++ src/parser/JpegParser.cc 2021-10-06 22:51:11.387360545 +0200 +@@ -64,6 +64,7 @@ + } catch (runtime_error &ex) { + return false; + } ++ return true; + } + + void JpegParser::tokenizeMarker(const string &base_token, +--- src/parser/GifParser.cc.orig 2021-10-06 22:49:53.373030763 +0200 ++++ src/parser/GifParser.cc 2021-10-06 22:51:18.017445447 +0200 +@@ -94,6 +94,7 @@ + } catch (runtime_error &ex) { + return false; + } ++ return true; + } + + void GifParser::openImage() |