# HG changeset patch # User Rik # Date 1361920932 28800 # Node ID e125db98263f26c33854f48e34727dd6cb41c440 # Parent 421dea028bbf8e45cd16974ac53a9b52d8d8baf3 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. diff --git a/libinterp/interp-core/pt-jit.cc b/libinterp/interp-core/pt-jit.cc --- a/libinterp/interp-core/pt-jit.cc +++ b/libinterp/interp-core/pt-jit.cc @@ -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 #include #include