changeset 16131:e125db98263f

build: Eliminate 2 unused variable warnings when not compiling with JIT. * libinterp/interp-core/pt-jit.cc: Move #ifdef HAVE_LLVM test to surround Venable_jit_debugging, Venable_jit_compiler variable declarations.
author Rik <rik@octave.org>
date Tue, 26 Feb 2013 15:22:12 -0800
parents 421dea028bbf
children 43e6415393ff
files libinterp/interp-core/pt-jit.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/interp-core/pt-jit.cc	Tue Feb 26 16:15:12 2013 -0500
+++ b/libinterp/interp-core/pt-jit.cc	Tue Feb 26 15:22:12 2013 -0800
@@ -36,12 +36,12 @@
 #include "symtab.h"
 #include "variables.h"
 
+#ifdef HAVE_LLVM
+
 static bool Venable_jit_debugging = false;
 
 static bool Venable_jit_compiler = true;
 
-#ifdef HAVE_LLVM
-
 #include <llvm/Analysis/CallGraph.h>
 #include <llvm/Analysis/Passes.h>
 #include <llvm/Analysis/Verifier.h>