graphicscomposition/openwfcompositionengine/composition/src/wfccontext.c
branchNewGraphicsArchitecture
changeset 143 3db46cb3f779
parent 0 5d03bc08d59c
--- a/graphicscomposition/openwfcompositionengine/composition/src/wfccontext.c	Thu Aug 05 12:20:08 2010 +0100
+++ b/graphicscomposition/openwfcompositionengine/composition/src/wfccontext.c	Fri Aug 06 17:05:20 2010 +0100
@@ -1205,7 +1205,6 @@
 WFC_Context_RemoveElement(WFC_CONTEXT* context,
                           WFCElement element)
 {
-    WFCErrorCode            err = WFC_ERROR_BAD_HANDLE;
     WFC_ELEMENT*            elemento = NULL;
 
     OWF_ASSERT(context);
@@ -1220,11 +1219,9 @@
          */
         elemento->shared = WFC_FALSE;
         context->lowestElement = WFC_Scene_LowestElement(context->workScene);
-
-        err = WFC_ERROR_NONE;
     }
 
-    return err;
+    return WFC_ERROR_NONE;
 }
 
 /*!