diff --git a/src/modules/event/wrap_Event.cpp b/src/modules/event/wrap_Event.cpp index b165e3d2c..c7ed46866 100644 --- a/src/modules/event/wrap_Event.cpp +++ b/src/modules/event/wrap_Event.cpp @@ -207,7 +207,6 @@ int w__setDefaultModalDrawCallback(lua_State *L) Reference *r = new Reference(L); lua_pop(L, 1); - Event::ModalDrawData data = {}; data.draw = drawCallback; data.cleanup = cleanupCallback; data.context = r;