summaryrefslogtreecommitdiff
path: root/PcAtChipsetPkg
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2015-12-24 06:47:42 +0000
committerhwu1225 <hwu1225@Edk2>2015-12-24 06:47:42 +0000
commitf8ab19a63afab7d791e6a9ab04b12f06da24172f (patch)
treea01753b361b7b9885b94fb2483d82d9b9c94aea2 /PcAtChipsetPkg
parent4800ebb9aeafadbe5ba145fda7df245ccc600fe5 (diff)
downloadedk2-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.c2
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
//