Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P8 build fixes for modern GCC #193

Open
wants to merge 15 commits into
base: master-p8
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
error: the compiler can assume that the address of ‘r’ will never be …
…NULL

     PRDF_ASSERT( &r  != NULL );

Change-Id: I2d60075f9e2232512efe45a5c6aa5563f3a565f5
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
stewartsmith authored and shenki committed Jan 3, 2020
commit f044df6c7e963365a2f27dec6218e23ed54a7a3b
Original file line number Diff line number Diff line change
@@ -120,8 +120,6 @@ ErrorRegister::ErrorRegister( SCAN_COMM_REGISTER_CLASS & r, ResolutionMap & rm,
ErrorRegisterType(), scr(r), scr_rc(SUCCESS), rMap(rm),
xNoErrorOnZeroScr(false), xScrId(scrId)
{
PRDF_ASSERT( &r != NULL );
PRDF_ASSERT( &rm != NULL );
}

/*---------------------------------------------------------------------*/