diff options
| author | Simon Tatham <anakin@pobox.com> | 2014-03-30 07:48:03 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2014-03-30 07:48:03 +0000 |
| commit | 18e0f32b292316a4db3bb0bde1570a73ee60b0bd (patch) | |
| tree | 27249b819622429551dc7e7b7627c83464336f41 | |
| parent | 6154b5b53a342d6cf1aa3fc38e28405975f64e00 (diff) | |
| download | halibut-18e0f32b292316a4db3bb0bde1570a73ee60b0bd.zip halibut-18e0f32b292316a4db3bb0bde1570a73ee60b0bd.tar.gz halibut-18e0f32b292316a4db3bb0bde1570a73ee60b0bd.tar.bz2 halibut-18e0f32b292316a4db3bb0bde1570a73ee60b0bd.tar.xz | |
Silence compiler warnings on OS X 10.9.
[originally from svn r10166]
| -rw-r--r-- | bk_info.c | 2 | ||||
| -rw-r--r-- | bk_text.c | 2 | ||||
| -rw-r--r-- | deflate.c | 3 |
3 files changed, 4 insertions, 3 deletions
@@ -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; @@ -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; @@ -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 |