summaryrefslogtreecommitdiff
path: root/orc/orcprogram-altivec.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2011-07-16 14:27:47 +0100
committerDavid Schleef <ds@schleef.org>2011-09-27 12:10:34 -0700
commit320a88376697f81c3d0a3c4eaf362d1c2ff08997 (patch)
tree366eca28a78279ebfa3cbfe0cdb08ab1e6762346 /orc/orcprogram-altivec.c
parent00caca35ed0cd9b5808e7daca2efddf6231841e6 (diff)
downloadorc-320a88376697f81c3d0a3c4eaf362d1c2ff08997.tar.gz
orc: fix some more unused-but-set-variable warnings with gcc 4.6
Diffstat (limited to 'orc/orcprogram-altivec.c')
-rw-r--r--orc/orcprogram-altivec.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/orc/orcprogram-altivec.c b/orc/orcprogram-altivec.c
index 84f46b9..3801b88 100644
--- a/orc/orcprogram-altivec.c
+++ b/orc/orcprogram-altivec.c
@@ -119,12 +119,9 @@ orc_compiler_powerpc_init (OrcCompiler *compiler)
void
powerpc_load_inner_constants (OrcCompiler *compiler)
{
- OrcVariable *var;
int i;
for(i=0;i<ORC_N_COMPILER_VARIABLES;i++){
- var = compiler->vars + i;
-
if (compiler->vars[i].name == NULL) continue;
switch (compiler->vars[i].vartype) {
case ORC_VAR_TYPE_SRC: