Fixed unused variable warning in release

Variable was only used in an assert() and so caused
an unused variable warning in release.

Change-Id: I58e9cba411ae55a3b8a1a28d1b5ddc2d173a6a9d
Merge topic 'TestPParticleTracers-unused' into master

a46f6116 Fixed unused variable warning in release