From d59c5e627fd023d3767bd8eb3e1eb4384d971bde Mon Sep 17 00:00:00 2001 From: Spp Date: Thu, 15 Dec 2011 11:12:15 +0100 Subject: Fix warnings --- src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/server/game/AI/ScriptedAI') diff --git a/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp b/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp index 06c1570ccd9..c5f04d4ff5f 100644 --- a/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp +++ b/src/server/game/AI/ScriptedAI/ScriptedEscortAI.cpp @@ -543,7 +543,6 @@ bool npc_escortAI::GetWaypointPosition(uint32 pointId, float& x, float& y, float if (waypoints.empty()) return false; - ScriptPointVector::const_iterator itrEnd = waypoints.end(); for (ScriptPointVector::const_iterator itr = waypoints.begin(); itr != waypoints.end(); ++itr) { if (itr->uiPointId == pointId) -- cgit v1.2.3