diff options
author | Zack Weinberg <zack@wolery.cumb.org> | 2000-08-02 17:01:13 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2000-08-02 17:01:13 +0000 |
commit | 50e60bc3d7c3ab94e6f5eabaaee3eab574e0b0c3 (patch) | |
tree | 33e626ecf7d173a341ab289bdd457e7b358a8650 /gcc/intl | |
parent | 3f954fc3f38a0fd76f8107b75f0f0b5936a29fd9 (diff) | |
download | gcc-50e60bc3d7c3ab94e6f5eabaaee3eab574e0b0c3.zip gcc-50e60bc3d7c3ab94e6f5eabaaee3eab574e0b0c3.tar.gz gcc-50e60bc3d7c3ab94e6f5eabaaee3eab574e0b0c3.tar.bz2 |
c-common.h: Prototype min_precision and c_build_qualified_type here...
* c-common.h: Prototype min_precision and c_build_qualified_type here...
* c-tree.h: ... not here.
* errors.h: Prototype fancy_abort.
* emit-rtl.c (gen_lowpart_common): Move variable 'c' into
HOST_BITS_PER_WIDE_INT == 64 ifdef block.
* regrename.c (regrename_optimize): Make control flow explicit.
(replace_reg_in_block): Initialize reg_use to 0.
* i386.c (legitimate_address_p): Rename error label to
report_error to avoid namespace clash.
cp:
* cp-tree.h: Don't prototype min_precision here.
(my_friendly_assert): Cast expression to void.
* semantics.c (do_poplevel): Initialize scope_stmts.
f:
* expr.c (ffeexpr_finished_): Cast signed side of ?:
expression to bool.
java:
* class.c (build_dtable_decl): Initialize dummy.
intl:
* dcgettext.c (find_msg): Initialize act before loop.
(guess_category_value): Add dummy uses of both parameters.
* localealias.c (read_alias_file): Cast arg of strchr to char *.
From-SVN: r35427
Diffstat (limited to 'gcc/intl')
-rw-r--r-- | gcc/intl/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/intl/dcgettext.c | 3 | ||||
-rw-r--r-- | gcc/intl/localealias.c | 2 |
3 files changed, 11 insertions, 1 deletions
diff --git a/gcc/intl/ChangeLog b/gcc/intl/ChangeLog index 00452d8..48d0d70 100644 --- a/gcc/intl/ChangeLog +++ b/gcc/intl/ChangeLog @@ -1,4 +1,11 @@ +2000-08-02 Zack Weinberg <zack@wolery.cumb.org> + + * dcgettext.c (find_msg): Initialize act before loop. + (guess_category_value): Add dummy uses of both parameters. + * localealias.c (read_alias_file): Cast arg of strchr to char *. + 2000-06-06 Philipp Thomas <pthomas@suse.de> + * Makefile.in: Add -DIN_GCC to DEFS, add appropriate -I switches. * dcgettext.c: Define _GNU_SOURCE before any system header is included. Guard getcwd declaration with HAVE_DECL_GETCWD. diff --git a/gcc/intl/dcgettext.c b/gcc/intl/dcgettext.c index 4399b71..a830f1d 100644 --- a/gcc/intl/dcgettext.c +++ b/gcc/intl/dcgettext.c @@ -455,6 +455,7 @@ find_msg (domain_file, msgid) /* Now we try the default method: binary search in the sorted array of messages. */ bottom = 0; + act = 0; top = domain->nstrings; while (bottom < top) { @@ -547,6 +548,8 @@ guess_category_value (category, categoryname) const char *categoryname; { const char *retval; + (void) category; /* shut up compiler */ + (void) categoryname; /* ditto */ /* The highest priority value is the `LANGUAGE' environment variable. This is a GNU extension. */ diff --git a/gcc/intl/localealias.c b/gcc/intl/localealias.c index 7c2f6cc..513cdc7 100644 --- a/gcc/intl/localealias.c +++ b/gcc/intl/localealias.c @@ -257,7 +257,7 @@ read_alias_file (fname, fname_len) /* Possibly not the whole line fits into the buffer. Ignore the rest of the line. */ - if (strchr (buf, '\n') == NULL) + if (strchr ((char *)buf, '\n') == NULL) { char altbuf[BUFSIZ]; do |