Blame SOURCES/jasper-1.900.1-Coverity-UNREACHABLE.patch

2c4e85
Error: UNREACHABLE
2c4e85
jp2/jp2_cod.c:304: unreachable: This code cannot be reached: "abort();".
2c4e85
2c4e85
jp2/jp2_cod.c:514: unreachable: This code cannot be reached: "abort();".
2c4e85
2c4e85
jp2/jp2_enc.c:354: unreachable: This code cannot be reached: "abort();".
2c4e85
2c4e85
diff -up jasper-1.900.1/src/libjasper/jp2/jp2_cod.c.unreachable jasper-1.900.1/src/libjasper/jp2/jp2_cod.c
2c4e85
--- jasper-1.900.1/src/libjasper/jp2/jp2_cod.c.unreachable	2007-01-19 22:43:05.000000000 +0100
2c4e85
+++ jasper-1.900.1/src/libjasper/jp2/jp2_cod.c	2011-06-27 15:28:13.083137952 +0200
2c4e85
@@ -301,7 +301,6 @@ jp2_box_t *jp2_box_get(jas_stream_t *in)
2c4e85
 	}
2c4e85
 
2c4e85
 	return box;
2c4e85
-	abort();
2c4e85
 
2c4e85
 error:
2c4e85
 	if (box) {
2c4e85
@@ -511,7 +510,6 @@ int jp2_box_put(jp2_box_t *box, jas_stre
2c4e85
 	}
2c4e85
 
2c4e85
 	return 0;
2c4e85
-	abort();
2c4e85
 
2c4e85
 error:
2c4e85
 
2c4e85
diff -up jasper-1.900.1/src/libjasper/jp2/jp2_enc.c.unreachable jasper-1.900.1/src/libjasper/jp2/jp2_enc.c
2c4e85
--- jasper-1.900.1/src/libjasper/jp2/jp2_enc.c.unreachable	2007-01-19 22:43:05.000000000 +0100
2c4e85
+++ jasper-1.900.1/src/libjasper/jp2/jp2_enc.c	2011-06-27 15:27:58.858353979 +0200
2c4e85
@@ -351,7 +351,6 @@ int sgnd;
2c4e85
 	}
2c4e85
 
2c4e85
 	return 0;
2c4e85
-	abort();
2c4e85
 
2c4e85
 error:
2c4e85