]> git.ipfire.org Git - thirdparty/git.git/blobdiff - ewah/ewah_bitmap.c
tree-wide: apply equals-null.cocci
[thirdparty/git.git] / ewah / ewah_bitmap.c
index 2a8c7c5c33ab864788baaa7b6a52a5c59f84f7d0..6fe48d3ae0449a0298deb109b967ef3479ef0c47 100644 (file)
@@ -451,7 +451,7 @@ struct ewah_bitmap *ewah_pool_new(void)
 
 void ewah_pool_free(struct ewah_bitmap *self)
 {
-       if (self == NULL)
+       if (!self)
                return;
 
        if (bitmap_pool_size == BITMAP_POOL_MAX ||