From 982cf4f75681521f9aa9c3e9ae3c28f80ab2509f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Ekstr=C3=B6m?= Date: Wed, 5 Nov 2014 16:54:58 +0200 Subject: [PATCH] system-controller: only set value once before validation in screen_allocate. Change-Id: I56aa1716e848a6c400dc3e7f63d811dfdb015a35 --- src/plugins/system-controller/resource-manager/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/system-controller/resource-manager/screen.c b/src/plugins/system-controller/resource-manager/screen.c index c9a6c19..1dafcd0 100644 --- a/src/plugins/system-controller/resource-manager/screen.c +++ b/src/plugins/system-controller/resource-manager/screen.c @@ -1499,7 +1499,7 @@ static bool screen_allocate(mrp_zone_t *zone, mrp_resmgr_screen_t *screen = (mrp_resmgr_screen_t *)userdata; uint32_t zoneid; const char *zonename; - const char *appid = get_appid_for_resource(res); + const char *appid; screen_resource_t *sr; uint32_t grantid; bool allocated; -- 2.7.4