File mjpegtools-1.9.0-fix-compiler-error.patch of Package mjpegtools

diff -up mjpegtools-1.9.0/y4mdenoise/BitmapRegion2D.hh.orig mjpegtools-1.9.0/y4mdenoise/BitmapRegion2D.hh
--- mjpegtools-1.9.0/y4mdenoise/BitmapRegion2D.hh.orig	2010-03-01 17:45:22.000000000 +0100
+++ mjpegtools-1.9.0/y4mdenoise/BitmapRegion2D.hh	2010-03-01 17:45:58.000000000 +0100
@@ -1289,6 +1289,9 @@ BitmapRegion2D<INDEX,SIZE>::FindLastSetB
 {
 	// Not written yet.
 	assert (false);
+
+	// Make compiler happy
+	return 0;
 }
 
 
@@ -1301,6 +1304,9 @@ BitmapRegion2D<INDEX,SIZE>::FindLastClea
 {
 	// Not written yet.
 	assert (false);
+
+	// Make compiler happy
+	return 0;
 }
openSUSE Build Service is sponsored by