aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-02-28 08:11:38 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1994-02-28 08:11:38 -0500
commit7633af950689bc65a75284525a7032595c94ad67 (patch)
tree9e73fc8425e99c321b2060bea572683749440f10 /gcc
parent68de38314c2ee87564672eeb4e3cbb6d634d1442 (diff)
downloadgcc-7633af950689bc65a75284525a7032595c94ad67.zip
gcc-7633af950689bc65a75284525a7032595c94ad67.tar.gz
gcc-7633af950689bc65a75284525a7032595c94ad67.tar.bz2
(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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cccp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/cccp.c b/gcc/cccp.c
index b8e5659..98a1b8d 100644
--- a/gcc/cccp.c
+++ b/gcc/cccp.c
@@ -4785,7 +4785,6 @@ check_precompiled (pcf, fname, limit)
long st_size;
int length = 0;
char *buf;
- char *dollar_loc;
int i;
char *cp;
@@ -5018,7 +5017,7 @@ static void
pcstring_used (hp)
HASHNODE *hp;
{
- KEYDEF *kp, *tmp;
+ KEYDEF *kp;
for (kp = hp->value.keydef; kp; kp = kp->chain)
kp->str->writeflag = 1;
@@ -5035,7 +5034,6 @@ write_output ()
int line_command_len = 80;
char *line_command = xmalloc (line_command_len);
int len;
- int written;
/* In each run through the loop, either cur_buf_loc == */
/* next_string_loc, in which case we print a series of strings, or */
@@ -6116,7 +6114,6 @@ assertion_lookup (name, len, hash)
int len;
int hash;
{
- register U_CHAR *bp;
register ASSERTION_HASHNODE *bucket;
bucket = assertion_hashtab[hash];
@@ -8415,7 +8412,6 @@ pedwarn_with_file_and_line (file, line, msg, arg1, arg2, arg3)
char *msg;
char *arg1, *arg2, *arg3;
{
- int i;
if (!pedantic_errors && inhibit_warnings)
return;
if (file != NULL)