svn merge -r39384:39433 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender.git] / source / blender / blenlib / intern / BLI_ghash.c
index 432ba7c59cf342510ec23259a0d72d45dbe59fa2..dd685c606d2b4f8d8a9ddccadb9ca23129d00ee6 100644 (file)
@@ -128,8 +128,8 @@ int BLI_ghash_remove (GHash *gh, void *key, GHashKeyFreeFP keyfreefp, GHashValFr
                        if (valfreefp) valfreefp(e->val);
                        BLI_mempool_free(gh->entrypool, e);
 
-
-                       e= n;
+                       /* correct but 'e' isnt used before return */
+                       /* e= n; */ /*UNUSED*/
                        if (p)
                                p->next = n;
                        else