ref: 9fae8ec8e63aaa7eabdf3a1b87271da507e079d1
parent: f8a8d032eda34625e956ad44a607c4243001ea81
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Mon Aug 5 19:07:54 EDT 2002
additional code cleanup inspired by compiler warnings git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@176 ded80894-8fb9-0310-811b-c03f3676ab4d
--- a/jbig2_mmr.c
+++ b/jbig2_mmr.c
@@ -733,8 +733,6 @@
static void
jbig2_decode_mmr_line(Jbig2MmrCtx *mmr, const byte *ref, byte *dst)
{
- int a0 = 0;
-
while (1)
{
uint32_t word = mmr->word;
@@ -812,4 +810,6 @@
jbig2_decode_mmr_line(&mmr, gbreg_line, NULL);
gbreg_line += rowstride;
}
+
+ return 0;
}
--- a/jbig2_text.c
+++ b/jbig2_text.c
@@ -8,7 +8,7 @@
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
- $Id: jbig2_text.c,v 1.17 2002/08/05 22:26:21 giles Exp $
+ $Id: jbig2_text.c,v 1.18 2002/08/05 23:07:54 giles Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -85,7 +85,7 @@
const Jbig2TextRegionParams *params,
const Jbig2SymbolDict **dicts, const int n_dicts,
Jbig2Image *image,
- const byte *data, size_t size)
+ const byte *data, const size_t size)
{
/* relevent bits of 6.4.4 */
uint32_t NINSTANCES;