From 0a0564563edcaa7a7f13a5d09a56f47de8b21375 Mon Sep 17 00:00:00 2001 From: James Roseborough Date: Tue, 10 Nov 2009 17:28:24 +0000 Subject: [PATCH] Allow debug lib to be removed by obfuscators. --- src/core/org/luaj/vm2/lib/DebugLib.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/org/luaj/vm2/lib/DebugLib.java b/src/core/org/luaj/vm2/lib/DebugLib.java index 3de140d1..1cb07397 100644 --- a/src/core/org/luaj/vm2/lib/DebugLib.java +++ b/src/core/org/luaj/vm2/lib/DebugLib.java @@ -39,7 +39,7 @@ public class DebugLib extends VarArgFunction { public static final boolean TRACE = (null != System.getProperty("TRACE")); // leave this unset to allow obfuscators to remove it in production builds - public static boolean DEBUG_ENABLED = false; + public static boolean DEBUG_ENABLED; private static final String[] NAMES = { "",