* Batch of fixes for issues found by static analysis.

This commit is contained in:
Subv committed 2013-05-17 21:11:18 -05:00
1 parent 7c18bbb95f
commit 25acef2572
10 files changed
+100 -101

No files matched your search

+1 -1
View File
@@ -796,7 +796,7 @@ public:
if (show == "info")
{
// Check if the user did specify a visual waypoint
if (target->GetEntry() != VISUAL_WAYPOINT)
if (target && target->GetEntry() != VISUAL_WAYPOINT)
{
handler->PSendSysMessage(LANG_WAYPOINT_VP_SELECT);
handler->SetSentErrorMessage(true);