Skip to content

Commit

Permalink
Remove unused global
Browse files Browse the repository at this point in the history
  • Loading branch information
ntowle committed Nov 14, 2023
1 parent 962295c commit d97d008
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ globals = {
"CreateFrame",
"GetSpellInfo",
"GetActionInfo",
"GetMacroSpell",
"hooksecurefunc",
"tinsert",
"tremove",
Expand Down
2 changes: 1 addition & 1 deletion HideButtonGlow.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local addonName, addon = ...

-- globals
local CreateFrame, GetSpellInfo, GetActionInfo, GetMacroSpell, DEFAULT_CHAT_FRAME, InterfaceOptionsFrame_OpenToCategory = CreateFrame, GetSpellInfo, GetActionInfo, GetMacroSpell, DEFAULT_CHAT_FRAME, InterfaceOptionsFrame_OpenToCategory
local CreateFrame, GetSpellInfo, GetActionInfo, DEFAULT_CHAT_FRAME, InterfaceOptionsFrame_OpenToCategory = CreateFrame, GetSpellInfo, GetActionInfo, DEFAULT_CHAT_FRAME, InterfaceOptionsFrame_OpenToCategory

local eventFrame = CreateFrame('Frame')
eventFrame:SetScript('OnEvent', function(self, event, ...)
Expand Down

0 comments on commit d97d008

Please sign in to comment.