aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2014-09-13 05:59:47 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2014-09-13 05:59:47 +0000
commit8909b58efa79468e797edd18139af98c72dd1e64 (patch)
treea3acd81121008e06903b78c8b9680231084757e9 /gcc/tree.c
parent401119e83aa98949882fcc5a22afd48551c36422 (diff)
downloadgcc-8909b58efa79468e797edd18139af98c72dd1e64.zip
gcc-8909b58efa79468e797edd18139af98c72dd1e64.tar.gz
gcc-8909b58efa79468e797edd18139af98c72dd1e64.tar.bz2
tree.c (protected_set_expr_location): Don't check whether T is non-null here.
* tree.c (protected_set_expr_location): Don't check whether T is non-null here. From-SVN: r215234
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 6ad0575..f999a3b 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -4585,7 +4585,7 @@ build_block (tree vars, tree subblocks, tree supercontext, tree chain)
void
protected_set_expr_location (tree t, location_t loc)
{
- if (t && CAN_HAVE_LOCATION_P (t))
+ if (CAN_HAVE_LOCATION_P (t))
SET_EXPR_LOCATION (t, loc);
}