diff options
author | wlemb <wlemb> | 2004-04-19 06:17:40 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2004-04-19 06:17:40 +0000 |
commit | 85ef3aadf1f6f6a359d524543856fa9c799d2044 (patch) | |
tree | 7d4aacdaea5b60e99275b1b3fa9acfbed4d00b70 /src/devices/grohtml | |
parent | 3f3dc53655e90cb788123a78b30e000312f0ed02 (diff) | |
download | groff-85ef3aadf1f6f6a359d524543856fa9c799d2044.tar.gz |
* src/include/font.h (font): Use `int' for ch_index.
* src/libs/libgroff/font.cpp (font::alloc_ch_index,
font::compact): Updated.
* src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix compiler
warnings.
* src/roff/troff/div.cpp (begin_page), src/roff/troff/env.cpp
(hyphen_word): Fix compiler warnings.
* src/roff/troff/input.cpp (get_char_for_escape_name): Return
`char'.
Update all callers.
(get_delim_number, get_line_arg): Change second argument type to
`unsigned char'.
(macro_header::copy, token::next, do_define_string,
do_define_character, substring_request, asciify_macro,
unformat_macro, read_size, non_interpreted_node::interpret,
while_request, main: Fix compiler warnings.
(read_color_draw_node): Initialize `col'.
* src/preproc/tbl/table.cpp (horizontal_span, table_entry): Make
`start_col' and `end_col' of type `int'.
(vertical_rule): Make `col' of type `int'.
* src/preproc/grn/hdb.cpp (DBRead): Protect call to getc with check
for EOF.
* src/preproc/refer/label.y (uppercase_array, lowercase_array):
New arrays.
(format_serial): Use them to remove dependency on ASCII.
* src/devices/grops/ps.cpp (ps_printer::define_encoding): Fix
compiler warning.
* src/devices/grops/psrm.cpp (resource_manager::supply_resource):
Ditto.
* src/devices/grotty/tty.cpp (tty_font::load_tty_font): Fix
compiler warnings.
(glyph): Change type of `hpos' to `int'.
* src/devices/lbp/lbp.cpp (strsep): Removed. Unused.
* src/devices/lbp/lbp.h (splinerel): Fix compiler warnings.
* src/utils/tfmtodit.cpp (gf::load): Fix compiler warnings.
* src/utils/pfbtops/pfbtops.c (get_text): Fix compiler warning.
Diffstat (limited to 'src/devices/grohtml')
-rw-r--r-- | src/devices/grohtml/post-html.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/grohtml/post-html.cpp b/src/devices/grohtml/post-html.cpp index 18a1d8eb..1da74c2a 100644 --- a/src/devices/grohtml/post-html.cpp +++ b/src/devices/grohtml/post-html.cpp @@ -2886,8 +2886,8 @@ void html_printer::lookahead_for_tables (void) int found_col = FALSE; int seen_text = FALSE; int ncol = 0; - int colmin; - int colmax; + int colmin = 0; // pacify compiler + int colmax = 0; // pacify compiler html_table *tbl = new html_table(&html, -1); const char *tab_defs = NULL; char align = 'L'; |