Remove unused variable warning

Change-Id: I44aa007126b5da933e6306b82269698cb9bd1b99
Reviewed-by: Andy Nichols <andy.nichols@digia.com>