Skip to content

Commit aab1113

Browse files
test: Resolve clang-tidy dead store warning
Signed-off-by: Fabian Zwoliński <[email protected]>
1 parent 85c8b6e commit aab1113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/test/unit_test/os_interface/linux/drm_memory_manager_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7642,7 +7642,7 @@ TEST_F(DrmMemoryManagerWithLocalMemoryAndExplicitExpectationsTest, givenAllocati
76427642
EXPECT_TRUE(allocation->getGpuAddress() % size == 0u);
76437643

76447644
size = 8 * MemoryConstants::gigaByte + MemoryConstants::pageSize64k;
7645-
size_t expectedSize = size;
7645+
size_t expectedSize{};
76467646

76477647
if (productHelper.is2MBLocalMemAlignmentEnabled()) {
76487648
expectedSize = alignUp(size, MemoryConstants::pageSize2M);

0 commit comments

Comments
 (0)