Skip to content

Commit

Permalink
Clang Static Analyzer - "uninitialized argument value" warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Ronchetti authored and Andrew Elder committed Oct 31, 2017
1 parent fcdf235 commit d65d6a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CppUTest/TestMemoryAllocatorTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ TEST(FailableMemoryAllocator, FailFirstAllocationAtGivenLine)

TEST(FailableMemoryAllocator, FailThirdAllocationAtGivenLine)
{
int *memory[10];
int *memory[10] = { NULL };
int allocation;
failableMallocAllocator.failNthAllocAt(3, __FILE__, __LINE__ + 4);

Expand Down

0 comments on commit d65d6a3

Please sign in to comment.