blob: 9c2c8f4efae0ef67aa857f7a72aaca63d3d33212 [file] [log] [blame]
From 8797f215a09a89c271dab484b892ceedd2486615 Mon Sep 17 00:00:00 2001
From: Stewart Smith <stewart@linux.vnet.ibm.com>
Date: Thu, 25 Aug 2016 20:13:11 +1000
Subject: [PATCH 07/10] =?UTF-8?q?error:=20the=20compiler=20can=20assume=20?=
=?UTF-8?q?that=20the=20address=20of=20=E2=80=98r=E2=80=99=20will=20never?=
=?UTF-8?q?=20be=20NULL?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
PRDF_ASSERT( &r != NULL );
Change-Id: I2d60075f9e2232512efe45a5c6aa5563f3a565f5
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
---
src/usr/diag/prdf/common/framework/register/prdfErrorRegister.C | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/usr/diag/prdf/common/framework/register/prdfErrorRegister.C b/src/usr/diag/prdf/common/framework/register/prdfErrorRegister.C
index 9ee1358..ef7279b 100755
--- a/src/usr/diag/prdf/common/framework/register/prdfErrorRegister.C
+++ b/src/usr/diag/prdf/common/framework/register/prdfErrorRegister.C
@@ -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 );
}
/*---------------------------------------------------------------------*/
--
2.7.4