This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[OBVIOUS][PATCH] Remove an unused variable.
- From: Martin Liška <mliska at suse dot cz>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Jeff Law <law at redhat dot com>
- Date: Thu, 4 May 2017 12:08:43 +0200
- Subject: [OBVIOUS][PATCH] Remove an unused variable.
- Authentication-results: sourceware.org; auth=none
Hi.
Installed as obvious.
Martin
>From 67276230a5f6150a214d8be4ebbd4962f2ce371b Mon Sep 17 00:00:00 2001
From: marxin <mliska@suse.cz>
Date: Thu, 4 May 2017 11:59:31 +0200
Subject: [PATCH] Remove an unused variable.
gcc/ChangeLog:
2017-05-04 Martin Liska <mliska@suse.cz>
* tree-vrp.c (simplify_cond_using_ranges_2): Remove unused
variable cond_code.
---
gcc/tree-vrp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/gcc/tree-vrp.c b/gcc/tree-vrp.c
index 36cb7480ecd..8d6124f58a6 100644
--- a/gcc/tree-vrp.c
+++ b/gcc/tree-vrp.c
@@ -9644,7 +9644,6 @@ simplify_cond_using_ranges_2 (gcond *stmt)
{
tree op0 = gimple_cond_lhs (stmt);
tree op1 = gimple_cond_rhs (stmt);
- enum tree_code cond_code = gimple_cond_code (stmt);
/* If we have a comparison of an SSA_NAME (OP0) against a constant,
see if OP0 was set by a type conversion where the source of
--
2.12.2