warning: test/gather.cc:29:222: passing NULL to non-pointer argument 3 of ‘static testing::AssertionResult testing::internal::EqHelper::Compare(const char*, const char*, const T1&, T2*) [with T1 = long int, T2 = C_Gather]’ [-Wconversion-null]
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
TEST(ContextGather, Constructor) {
C_GatherBuilder gather(g_ceph_context);
EXPECT_FALSE(gather.has_subs());
- EXPECT_EQ(NULL, gather.get());
+ EXPECT_TRUE(gather.get() == NULL);
}
TEST(ContextGather, OneSub) {