diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2015-12-24 06:47:42 +0000 |
---|---|---|
committer | hwu1225 <hwu1225@Edk2> | 2015-12-24 06:47:42 +0000 |
commit | f8ab19a63afab7d791e6a9ab04b12f06da24172f (patch) | |
tree | a01753b361b7b9885b94fb2483d82d9b9c94aea2 /PcAtChipsetPkg | |
parent | 4800ebb9aeafadbe5ba145fda7df245ccc600fe5 (diff) | |
download | edk2-platforms-f8ab19a63afab7d791e6a9ab04b12f06da24172f.tar.xz |
PcAtChipsetPkg/PcRtc: Add assertion to pass static code checker
(Sync patch r19514 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Shumin Qiu <Shumin.Qiu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2015@19516 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PcAtChipsetPkg')
-rw-r--r-- | PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c b/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c index e122ae1699..bf221768c8 100644 --- a/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c +++ b/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c @@ -1277,6 +1277,8 @@ PcRtcAcpiTableChangeCallback ( return;
}
+ ASSERT (Rsdp != NULL);
+
//
// Find FADT in XSDT
//
|