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/utils/tfmtodit/tfmtodit.cpp | |
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/utils/tfmtodit/tfmtodit.cpp')
-rw-r--r-- | src/utils/tfmtodit/tfmtodit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/tfmtodit/tfmtodit.cpp b/src/utils/tfmtodit/tfmtodit.cpp index 2392f7b6..1c094b5a 100644 --- a/src/utils/tfmtodit/tfmtodit.cpp +++ b/src/utils/tfmtodit/tfmtodit.cpp @@ -412,7 +412,7 @@ int gf::load(const char *file) }; int got_an_adjustment = 0; int pending_adjustment = 0; - int left_adj, right_adj; + int left_adj = 0, right_adj = 0; // pacify compiler const int gf_id_byte = 131; errno = 0; FILE *fp = fopen(file, FOPEN_RB); |