diff --git a/ml.cpp b/ml.cpp index cfb1e73..72f22a1 100644 --- a/ml.cpp +++ b/ml.cpp @@ -94,9 +94,7 @@ MlValue MlValue::string(const std::string &s) { } MlValue MlValue::nil() { - MlValue result; - result.type = NIL; - return result; + return MlValue(); } // Construct a lambda function