diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/find-unused-sid-commands.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/find-unused-sid-commands.py b/bin/find-unused-sid-commands.py index c0e934b0b624..32f45e0f810a 100755 --- a/bin/find-unused-sid-commands.py +++ b/bin/find-unused-sid-commands.py @@ -42,12 +42,10 @@ for pair in commandSet: for line2 in txt2: foundLines = foundLines + line2 if foundLines.find("ExecuteList") != -1: continue - if foundLines.find("Dispatcher()->Execute") != -1: continue + if foundLines.find("GetDispatcher()->Execute") != -1: continue if foundLines.find("ExecuteScenarioSlot") != -1: continue # TODO not sure about this, but let's tackle the easy ones first if foundLines.find("Invalidate(") != -1: continue - if foundLines.find("SFX_IMPL_DOCKINGWINDOW_WITHID") != -1: continue - # dump any lines that contain the SID, so we can eyeball the results print("remove: " + commandName) |