diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-05 11:55:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-05 11:56:15 +0300 |
commit | a2120001a876518061b52d63362733ebedaedd47 (patch) | |
tree | 6af9253d2b0d15402679294ba074e39849418e88 /source/blender/blenlib/intern | |
parent | 57d4b869be387767be51fe1f9d819904c342d692 (diff) |
Cleanup: avoid function call for pointer compare
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/BLI_ghash_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/BLI_ghash_utils.c b/source/blender/blenlib/intern/BLI_ghash_utils.c index a0d9fefe465..053f177939c 100644 --- a/source/blender/blenlib/intern/BLI_ghash_utils.c +++ b/source/blender/blenlib/intern/BLI_ghash_utils.c @@ -203,8 +203,8 @@ bool BLI_ghashutil_paircmp(const void *a, const void *b) const GHashPair *A = a; const GHashPair *B = b; - return (BLI_ghashutil_ptrcmp(A->first, B->first) || - BLI_ghashutil_ptrcmp(A->second, B->second)); + return ((A->first != B->first) || + (A->second != B->second)); } void BLI_ghashutil_pairfree(void *ptr) |