Skip to content

Commit

Permalink
Fixing build vreak
Browse files Browse the repository at this point in the history
  • Loading branch information
kuqin12 committed Jan 25, 2024
1 parent 9b254c4 commit 6fb72f4
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,7 @@ InitializeInMemoryLog (

if (!ValidateInfoBlock ()) {
mLoggerInfo = NULL;
UT_ASSERT_NOT_NULL (mLoggerInfo);

UT_ASSERT_NOT_NULL ((VOID *)mLoggerInfo);
}

// This is to bypass the restriction on runtime check.
Expand Down Expand Up @@ -312,8 +311,7 @@ TestCursorWrappingMP (

Btc = (BASIC_TEST_CONTEXT *)Context;

UT_ASSERT_NOT_NULL (mLoggerInfo);

UT_ASSERT_NOT_NULL ((VOID *)mLoggerInfo);

// First fill in the buffer
while (mLoggerInfo->LogCurrent + MESSAGE_ENTRY_SIZE_V2 (sizeof (ADVANCED_LOGGER_MESSAGE_ENTRY_V2), sizeof (ADV_TIME_TEST_STR)) < mMaxAddress) {
Expand Down

0 comments on commit 6fb72f4

Please sign in to comment.