It is okay to delete dragMessage even if it is NULL. Not worth the branch.

This commit is contained in:
John Scipione 2012-07-22 15:58:31 -04:00
parent 8f29b6e639
commit 8cf6d28f99

View File

@ -120,7 +120,6 @@ BarViewMessageFilter::Filter(BMessage* message, BHandler** target)
break;
}
if (message->HasMessage("be:drag_message"))
delete dragMessage;
}