ref: 017edd03e56af3d8abca2b9ebcb63ad8984c5f6b
parent: e2d29524bb93bcbecfd492f9541bded929c21335
author: Robin Watts <robin.watts@artifex.com>
date: Thu Nov 28 12:51:02 EST 2013
More work on bug 694362 Back out some 'unreachable code' that I had accidently added back in. Remove a couple of unreachable 'break;' statements too.
--- a/jbig2.c
+++ b/jbig2.c
@@ -390,7 +390,6 @@
"Garbage beyond end of file");
}
}
- return 0;
}
void
--- a/jbig2_segment.c
+++ b/jbig2_segment.c
@@ -244,8 +244,6 @@
"unhandled extension segment");
}
}
-
- return 0;
}
/* general segment parsing dispatch */
--- a/jbig2_symbol_dict.c
+++ b/jbig2_symbol_dict.c
@@ -925,7 +925,6 @@
default:
return jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number,
"symbol dictionary specified invalid huffman table");
- break;
}
if (params.SDHUFFDH == NULL)
{
@@ -955,7 +954,6 @@
default:
return jbig2_error(ctx, JBIG2_SEVERITY_FATAL, segment->number,
"symbol dictionary specified invalid huffman table");
- break;
}
if (params.SDHUFFDW == NULL)
{