Fix 'return' with no value, in function returning non-void
authorChris Michael <cp.michael@samsung.com>
Tue, 14 May 2013 09:48:40 +0000 (10:48 +0100)
committerChris Michael <cp.michael@samsung.com>
Tue, 14 May 2013 09:49:14 +0000 (10:49 +0100)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/evas/engines/gl_common/evas_gl_api_ext.c

index 84e7866..dcf5f1c 100644 (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))