From 1fb91d03be0fe5afbb54148e69b5a0363eab9c83 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Fri, 16 Jul 2021 23:38:27 -0400 Subject: [PATCH] REF clean up dead code --- drawing/ReadWrite.lua | 1 - main.lua | 20 ++++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/drawing/ReadWrite.lua b/drawing/ReadWrite.lua index 2a5e8b8..8ecbc48 100644 --- a/drawing/ReadWrite.lua +++ b/drawing/ReadWrite.lua @@ -76,7 +76,6 @@ local writes = Common.initLabeledScalePlot( 2 ) - _PLOT_SEC_BREAK_ = nil _PLOT_HEIGHT_ = nil diff --git a/main.lua b/main.lua index f765b1b..d194be0 100644 --- a/main.lua +++ b/main.lua @@ -108,18 +108,18 @@ local cs_right = _make_static_surface( -- -- kill all the stuff we don't need for the main loop -- -local _unrequire = function(m) package.loaded[m] = nil end +-- local _unrequire = function(m) package.loaded[m] = nil end -_unrequire('Super') -_unrequire('Color') -_unrequire('Widget') -_unrequire('Patterns') +-- _unrequire('Super') +-- _unrequire('Color') +-- _unrequire('Widget') +-- _unrequire('Patterns') -_unrequire = nil -_make_static_surface = nil -FillRect = nil -_G_INIT_DATA_ = nil -collectgarbage() +-- _unrequire = nil +-- _make_static_surface = nil +-- FillRect = nil +-- _G_INIT_DATA_ = nil +-- collectgarbage() -- -- main loop