From d49f4a5d84c82babba9bd7cee3e44599ba0c5042 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 27 Feb 2016 15:05:01 +0200 Subject: [PATCH] Removed redundant comparison No more 'comparison of unsigned expression >= 0 is always true' warning --- src/p_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_map.cpp b/src/p_map.cpp index 57b14997f..942b1dfdc 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -972,7 +972,7 @@ bool PIT_CheckLine(FMultiBlockLinesIterator &mit, FMultiBlockLinesIterator::Chec spec.oldrefpos = tm.thing->PosRelative(ld); spechit.Push(spec); } - if (ld->portalindex >= 0 && ld->portalindex != UINT_MAX) + if (ld->portalindex != UINT_MAX) { spec.line = ld; spec.refpos = cres.position;