aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-chkp.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <aldot@gcc.gnu.org>2015-04-08 19:56:18 +0200
committerBernhard Reutner-Fischer <aldot@gcc.gnu.org>2015-04-08 19:56:18 +0200
commita876b410369ec708b2788799e837fe8a2b242cb1 (patch)
tree7015fdf157f00b30b01234301123732d13dcf292 /gcc/tree-chkp.c
parentd93bdab53b8de8677bca3af17fe8072458ea3f6b (diff)
downloadgcc-a876b410369ec708b2788799e837fe8a2b242cb1.zip
gcc-a876b410369ec708b2788799e837fe8a2b242cb1.tar.gz
gcc-a876b410369ec708b2788799e837fe8a2b242cb1.tar.bz2
emit_local(): Fix unused warning
Honzas r221269 produced gcc/varasm.c:1936:7: error: unused variable ‘align’ [-Werror=unused-variable] int align = symtab_node::get (decl)->definition_alignment (); ^ on e.g.: log/alpha64-dec-vms log/alpha-dec-vms log/i686-cygwinOPT-enable-threads=yes log/i686-mingw32crt log/i686-openbsd3.0 log/i686-pc-msdosdjgpp log/m68k-openbsd Silence this by moving the variable into the corresponding blocks and adding back the ATTRIBUTE_UNUSED decoration for the decl param. From-SVN: r221925
Diffstat (limited to 'gcc/tree-chkp.c')
0 files changed, 0 insertions, 0 deletions