c/c leads to redefine a variable already declared before
Change-Id: Iee94c38ed78e2d780448b5a43a8883a19a8f4474
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
if (!layer_id) {
HMI_DEBUG("wm", "Newly created surface %d is not associated with any layer! Must be a XDG apps",
surface_id);
- auto layer_id = this->layers.get_layer_id(XDG_DRAWING_NAME);
+ layer_id = this->layers.get_layer_id(XDG_DRAWING_NAME);
if(!layer_id)
{
HMI_DEBUG("wm", "No role found for that XDG App");