diff --git a/GeoLib/Polygon.cpp b/GeoLib/Polygon.cpp
index 1c7d389d00147f21bbb7497bf6488db1dcf6d571..4eed11c51ceb4833160be383ca86bad8275a2886 100644
--- a/GeoLib/Polygon.cpp
+++ b/GeoLib/Polygon.cpp
@@ -123,7 +123,6 @@ bool Polygon::isPntInPolygon(GeoLib::Point const& pnt) const
                 return true;
             }
         }
-        return false;
     }
     return false;
 }