summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2016-12-15 15:17:45 +0100
committerPatrick Georgi <pgeorgi@google.com>2016-12-16 15:57:24 +0100
commitda8421d1e2ee715b6ae396d1ab064c4c3f8a77fb (patch)
treeece256295c62c71d983ff4d7bdb37f6de2639ea0 /util
parentf78e658dac989a8c467de4d32ecf3f86dbb8e245 (diff)
util/romcc: remove self-assignment
Change-Id: I0f78b55b28011cdefc90665bca2a7ea17647e955 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Found-by: Coverity Scan #1129127 Reviewed-on: https://review.coreboot.org/17885 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'util')
-rw-r--r--util/romcc/romcc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/util/romcc/romcc.c b/util/romcc/romcc.c
index 655e6f5ed1..7b5e5d7e12 100644
--- a/util/romcc/romcc.c
+++ b/util/romcc/romcc.c
@@ -20919,7 +20919,6 @@ static void scc_visit_phi(struct compile_state *state, struct scc_state *scc,
}
/* meet(X, lattice high) = X */
else if (is_lattice_hi(state, tmp)) {
- lnode->val = lnode->val;
}
/* meet(lattice high, X) = X */
else if (is_lattice_hi(state, lnode)) {