summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bk_info.c2
-rw-r--r--bk_text.c2
-rw-r--r--deflate.c3
3 files changed, 4 insertions, 3 deletions
diff --git a/bk_info.c b/bk_info.c
index 1c6e033..a9a67d4 100644
--- a/bk_info.c
+++ b/bk_info.c
@@ -315,7 +315,7 @@ void info_backend(paragraph *sourceform, keywordlist *keywords,
int nesting, nestindent;
int indentb, indenta;
int filepos;
- int has_index;
+ int has_index = FALSE;
info_data intro_text = EMPTY_INFO_DATA;
node *topnode, *currnode;
word bullet;
diff --git a/bk_text.c b/bk_text.c
index 2a121e7..4ffba55 100644
--- a/bk_text.c
+++ b/bk_text.c
@@ -686,7 +686,7 @@ static void text_heading(textfile *tf, word *tprefix, word *nprefix,
if (margin < 0) margin = 0;
firstlinewidth = indent + width - margin - length;
wrapwidth = width;
- } else if (align.align == LEFT || align.align == CENTRE) {
+ } else /* if (align.align == LEFT || align.align == CENTRE) */ {
margin = 0;
firstlinewidth = indent + width - length;
wrapwidth = indent + width;
diff --git a/deflate.c b/deflate.c
index 6bbceae..5eb1faa 100644
--- a/deflate.c
+++ b/deflate.c
@@ -1203,7 +1203,8 @@ static void outblock(deflate_compress_ctx *out,
*/
for (i = 0; i < 19; i++)
codelen[i] = len3[lenlenmap[i]];
- for (hclen = 19; hclen > 4 && codelen[hclen-1] == 0; hclen--);
+ for (hclen = 19; hclen > 4 && codelen[hclen-1] == 0; hclen--)
+ /* empty loop body */;
/*
* Now work out the exact size of both the dynamic and the