summaryrefslogtreecommitdiff
path: root/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2026-01-12 16:59:22 +0100
committerKristof Provost <kp@FreeBSD.org>2026-01-14 07:44:41 +0100
commitf2d2d6f010e48410a4435f73aa60ad3dcefccd3b (patch)
tree298ceeccaa405e7fb8bb80eaaa5fa2864282abc0 /source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent02126f8cb35ca66380a43a58143e0c37154a99d3 (diff)
pf: remove redundant range checks
the range checks are not needed because both members (statelim and sourcelim) are uint8_t, they implicitly fit desired range <0, 255>. Unbreaks gcc build. Pointed out by deraadt@ OK deraadt@ Obtained from: OpenBSD, sashan <sashan@openbsd.org>, 3a7be1e428 Sponsored by: Rubicon Communications, LLC ("Netgate")
Diffstat (limited to 'source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions