Fix for r1794 as statement has no effect.
Authored by: a_abraham 2011-09-21
Parent: [r2226]
Child: [r2228]