Cleanup: avoid function call for pointer compare
[blender.git] / source / blender / blenkernel / intern / anim_sys.c
index 1fe51b95ae4827caad9551244900bd1d66e1fe24..26453ffa9abdc6515a490869241d087dd8dbd524 100644 (file)
@@ -2054,8 +2054,8 @@ static bool nlaevalchan_keycmp(const void *a, const void *b)
        const NlaEvalChannelKey *A = a;
        const NlaEvalChannelKey *B = b;
 
-       return (BLI_ghashutil_ptrcmp(A->ptr.data, B->ptr.data) ||
-               BLI_ghashutil_ptrcmp(A->prop, B->prop));
+       return ((A->ptr.data != B->ptr.data) ||
+               (A->prop != B->prop));
 }
 
 /* ---------------------- */