Commit 7633af95 by Richard Kenner

(check_precompiled): Delete unused var dollar_loc.

(pcstring_used): Delete unused var TMP.
(write_output): Delete unused var WRITTEN.
(assertion_lookup): Delete unused var BP.
(pedwarn_with_file_and_line): Delete unused var I.

From-SVN: r6675
parent 68de3831
...@@ -4785,7 +4785,6 @@ check_precompiled (pcf, fname, limit) ...@@ -4785,7 +4785,6 @@ check_precompiled (pcf, fname, limit)
long st_size; long st_size;
int length = 0; int length = 0;
char *buf; char *buf;
char *dollar_loc;
int i; int i;
char *cp; char *cp;
...@@ -5018,7 +5017,7 @@ static void ...@@ -5018,7 +5017,7 @@ static void
pcstring_used (hp) pcstring_used (hp)
HASHNODE *hp; HASHNODE *hp;
{ {
KEYDEF *kp, *tmp; KEYDEF *kp;
for (kp = hp->value.keydef; kp; kp = kp->chain) for (kp = hp->value.keydef; kp; kp = kp->chain)
kp->str->writeflag = 1; kp->str->writeflag = 1;
...@@ -5035,7 +5034,6 @@ write_output () ...@@ -5035,7 +5034,6 @@ write_output ()
int line_command_len = 80; int line_command_len = 80;
char *line_command = xmalloc (line_command_len); char *line_command = xmalloc (line_command_len);
int len; int len;
int written;
/* In each run through the loop, either cur_buf_loc == */ /* In each run through the loop, either cur_buf_loc == */
/* next_string_loc, in which case we print a series of strings, or */ /* next_string_loc, in which case we print a series of strings, or */
...@@ -6116,7 +6114,6 @@ assertion_lookup (name, len, hash) ...@@ -6116,7 +6114,6 @@ assertion_lookup (name, len, hash)
int len; int len;
int hash; int hash;
{ {
register U_CHAR *bp;
register ASSERTION_HASHNODE *bucket; register ASSERTION_HASHNODE *bucket;
bucket = assertion_hashtab[hash]; bucket = assertion_hashtab[hash];
...@@ -8415,7 +8412,6 @@ pedwarn_with_file_and_line (file, line, msg, arg1, arg2, arg3) ...@@ -8415,7 +8412,6 @@ pedwarn_with_file_and_line (file, line, msg, arg1, arg2, arg3)
char *msg; char *msg;
char *arg1, *arg2, *arg3; char *arg1, *arg2, *arg3;
{ {
int i;
if (!pedantic_errors && inhibit_warnings) if (!pedantic_errors && inhibit_warnings)
return; return;
if (file != NULL) if (file != NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment