Core/Quest: Fix issues reported by static analysis

This commit is contained in:
jackpoz committed 2015-12-06 21:37:58 +01:00
1 parent e60bbaa7d3
commit f1f4005ad8
6 files changed
+20 -7

No files matched your search

+6
View File
@@ -374,6 +374,12 @@ public:
if (show == "del")
{
if (!arg_id)
{
handler->SendSysMessage("|cffff33ffERROR: Waypoint script guid not present.|r");
return true;
}
id = atoi(arg_id);
stmt = WorldDatabase.GetPreparedStatement(WORLD_SEL_WAYPOINT_SCRIPT_ID_BY_GUID);