aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2020-05-25 18:19:35 +0200
committerAnders Broman <a.broman58@gmail.com>2020-05-26 08:31:52 +0000
commit677fc33d5c2dde4be7dd249e0c54be0dd0d205b3 (patch)
treed75201945922260a919511e9b01cd4dfa517e87f /packaging
parentf1ef488120c27cf3199aef5d12f53b89caa7f388 (diff)
NSIS: remove unused DisableSection and EnableSection macros
These macros were added in commit 6e9e773a85fa for GTK1-related stuff and removed in commit 12ac5d685924 and serve no other purpose. Note that documentation for section flags can be found in https://nsis.sourceforge.io/Docs/Chapter4.html#sectionsetflags Change-Id: I6a24de8836e40e94c9a55706bdce6a64e1adb553 Reviewed-on: https://code.wireshark.org/review/37309 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/nsis/wireshark.nsi25
1 files changed, 0 insertions, 25 deletions
diff --git a/packaging/nsis/wireshark.nsi b/packaging/nsis/wireshark.nsi
index 21705d4afa..5a0a047e92 100644
--- a/packaging/nsis/wireshark.nsi
+++ b/packaging/nsis/wireshark.nsi
@@ -131,31 +131,6 @@ Page custom DisplayUSBPcapPage
; ============================================================================
!include "Sections.nsh"
-; ========= Macro to unselect and disable a section =========
-
-!macro DisableSection SECTION
-
- Push $0
- SectionGetFlags "${SECTION}" $0
- IntOp $0 $0 & ${SECTION_OFF}
- IntOp $0 $0 | ${SF_RO}
- SectionSetFlags "${SECTION}" $0
- Pop $0
-
-!macroend
-
-; ========= Macro to enable (unreadonly) a section =========
-!define SECTION_ENABLE 0xFFFFFFEF
-!macro EnableSection SECTION
-
- Push $0
- SectionGetFlags "${SECTION}" $0
- IntOp $0 $0 & ${SECTION_ENABLE}
- SectionSetFlags "${SECTION}" $0
- Pop $0
-
-!macroend
-
; ============================================================================
; Command Line
; ============================================================================