summaryrefslogtreecommitdiffstats
path: root/preconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'preconv.c')
-rw-r--r--preconv.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/preconv.c b/preconv.c
index d427c3cd..44a127da 100644
--- a/preconv.c
+++ b/preconv.c
@@ -27,11 +27,11 @@
int
preconv_encode(struct buf *ib, struct buf *ob, int *filenc)
{
+ size_t i;
+ const long one = 1L;
int state, be;
unsigned int accum;
- size_t i;
unsigned char cu;
- const long one = 1L;
if ( ! (*filenc & MPARSE_UTF8))
goto latin;
@@ -158,8 +158,7 @@ preconv_cue(const struct buf *b)
/* Check if we have the correct header/trailer. */
if ((sz = (size_t)(eoln - ln)) < 10 ||
- memcmp(ln, ".\\\" -*-", 7) ||
- memcmp(eoln - 3, "-*-", 3))
+ memcmp(ln, ".\\\" -*-", 7) || memcmp(eoln - 3, "-*-", 3))
return(MPARSE_UTF8 | MPARSE_LATIN1);
/* Move after the header and adjust for the trailer. */