diff --git a/tests/ivi-shell-app-test.c b/tests/ivi-shell-app-test.c index 5bef7656..9fefb5f0 100644 --- a/tests/ivi-shell-app-test.c +++ b/tests/ivi-shell-app-test.c @@ -36,10 +36,7 @@ get_ivi_application(struct client *client) { struct global *g; struct global *global_iviapp = NULL; - static struct ivi_application *iviapp; - - if (iviapp) - return iviapp; + struct ivi_application *iviapp; wl_list_for_each(g, &client->global_list, link) { if (strcmp(g->interface, "ivi_application"))