mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-15 00:08:07 -04:00
remove unnecessary null checks
This commit is contained in:
@@ -38,7 +38,6 @@ VehicleObject::~VehicleObject()
|
||||
Controller* VehicleObject::createDefaultController(void)
|
||||
{
|
||||
Controller* controller = new VehicleController(this);
|
||||
NOT_NULL(controller);
|
||||
|
||||
setController(controller);
|
||||
return controller;
|
||||
|
||||
Reference in New Issue
Block a user