Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gouzil committed Oct 4, 2023
1 parent 76afd66 commit af02782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/fluid/memory/allocation/system_allocator_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ PHI_DECLARE_bool(use_pinned_memory);
void TestAllocator(paddle::memory::detail::SystemAllocator* a, size_t size) {
bool freed = false;
{
size_t index = 0;
size_t index; // NOLINT
void* p = a->Alloc(&index, size);
if (size > 0) {
EXPECT_NE(p, nullptr);
Expand Down

0 comments on commit af02782

Please sign in to comment.