Commit a8020adc authored by peastman's avatar peastman
Browse files

Fixed compiler warning

parent ea4873f0
...@@ -188,8 +188,8 @@ double CompiledExpression::evaluate() const { ...@@ -188,8 +188,8 @@ double CompiledExpression::evaluate() const {
#ifdef LEPTON_USE_JIT #ifdef LEPTON_USE_JIT
static double evaluateOperation(Operation* op, double* args) { static double evaluateOperation(Operation* op, double* args) {
map<string, double>* dummyVariables = NULL; static map<string, double> dummyVariables;
return op->evaluate(args, *dummyVariables); return op->evaluate(args, dummyVariables);
} }
void CompiledExpression::generateJitCode() { void CompiledExpression::generateJitCode() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment