From 0207cd14a19605ecd0b47921c109abb0e4b13eb7 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 23 Dec 2016 00:18:49 +0100 Subject: Code clarity change: set Next field of DcsIntBlockIoFirst to NULL although it is already NULL at this code location since DcsIntBlockIo was allocated using AllocateZeroPool. --- DcsInt/DcsInt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/DcsInt/DcsInt.c b/DcsInt/DcsInt.c index 5d91936..8ece8f8 100644 --- a/DcsInt/DcsInt.c +++ b/DcsInt/DcsInt.c @@ -374,6 +374,7 @@ IntBlockIo_Hook( // add to global list if (DcsIntBlockIoFirst == NULL) { DcsIntBlockIoFirst = DcsIntBlockIo; + DcsIntBlockIoFirst->Next = NULL; } else { DcsIntBlockIoFirst->Next = DcsIntBlockIoFirst; -- cgit v1.2.3