Skip to content

Commit

Permalink
Merge pull request #1128 from audioscience/analyzer
Browse files Browse the repository at this point in the history
Clang Static Analyzer - "uninitialized argument value" warning fix
  • Loading branch information
basvodde committed Nov 2, 2017
2 parents b536c3c + d65d6a3 commit 7562465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CppUTest/TestMemoryAllocatorTest.cpp
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 7562465

Please sign in to comment.