summaryrefslogtreecommitdiff
path: root/gcc/intl/dcgettext.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/intl/dcgettext.c')
-rw-r--r--gcc/intl/dcgettext.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/intl/dcgettext.c b/gcc/intl/dcgettext.c
index 4399b717d54..a830f1de124 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. */