diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2015-12-24 06:36:43 +0000 |
---|---|---|
committer | niruiyu <niruiyu@Edk2> | 2015-12-24 06:36:43 +0000 |
commit | 0e3f62b64f290d84e71d514976f4566b0ca39275 (patch) | |
tree | cbe4b23b9c2b6a769c05dffb9590d71aced43392 /PcAtChipsetPkg | |
parent | 521465d218b14e812e8995644360cc7f09f71f8e (diff) | |
download | edk2-platforms-0e3f62b64f290d84e71d514976f4566b0ca39275.tar.xz |
PcAtChipsetPkg/PcRtc: Add assertion to pass static code checker
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/trunk/edk2@19514 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
//
|