Fix 'return' with no value, in function returning non-void

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-05-14 10:48:40 +01:00
parent 7aae76ac9b
commit 50f446199a
1 changed files with 2 additions and 2 deletions

View File

@ -72,13 +72,13 @@ evgl_evasglCreateImage(int target, void* buffer, int *attrib_list)
if (!(rsc=_evgl_tls_resource_get()))
{
ERR("Unable to execute GL command. Error retrieving tls");
return;
return NULL;
}
if (!rsc->current_eng)
{
ERR("Unable to retrive Current Engine");
return;
return NULL;
}
if ((evgl_engine) && (evgl_engine->funcs->display_get))