Remove variable 'set but not used' warning when building the example.

Change-Id: I1dbf1efc7a02c15c6eb5450b79cafba38feceb0f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>