summarylogtreecommitdiffstats
path: root/spamprobe-returntype.patch
diff options
context:
space:
mode:
authorGeert Hendrickx2021-10-06 23:04:42 +0200
committerGeert Hendrickx2021-10-06 23:04:42 +0200
commit983874bf462c2e914a524bf50286997bef02ad75 (patch)
treed46c6c445f9d3e3ab84c488d39b2be91ba27dcfe /spamprobe-returntype.patch
parent0b0a005041143219cb61256d2837e3c5593dbe29 (diff)
downloadaur-spamprobe.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.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/spamprobe-returntype.patch b/spamprobe-returntype.patch
new file mode 100644
index 00000000000..4f356bdf492
--- /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()