Move the assert which checks for a NULL pointer first.
Klocwork #274.
1 file changed