Revision: 19516
http://sourceforge.net/p/edk2/code/19516
Author: hwu1225
Date: 2015-12-24 06:47:42 +0000 (Thu, 24 Dec 2015)
Log Message:
-----------
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 <[email protected]>
Reviewed-by: Shumin Qiu <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/19514
Modified Paths:
--------------
branches/UDK2015/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c
Modified: branches/UDK2015/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c
===================================================================
--- branches/UDK2015/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c
2015-12-24 06:36:57 UTC (rev 19515)
+++ branches/UDK2015/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c
2015-12-24 06:47:42 UTC (rev 19516)
@@ -1277,6 +1277,8 @@
return;
}
+ ASSERT (Rsdp != NULL);
+
//
// Find FADT in XSDT
//
------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits