From 80cc22cbdea1de8d21eb406bf351a916ca2c4b43 Mon Sep 17 00:00:00 2001 From: Wei Mao Date: Wed, 15 Mar 2017 12:58:20 -0700 Subject: [usb] Fix Code Analysis Warnings --- usb/usbview/debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usb/usbview/debug.c') diff --git a/usb/usbview/debug.c b/usb/usbview/debug.c index bdd25589..1031cc5b 100644 --- a/usb/usbview/debug.c +++ b/usb/usbview/debug.c @@ -116,7 +116,7 @@ MyReAlloc ( { return NULL; } - + header = (PALLOCHEADER)hMem; header--; @@ -135,6 +135,7 @@ MyReAlloc ( // and the original handle and pointer are still valid. // Add the old address back to the allocation list. // + #pragma prefast(suppress:__WARNING_USING_UNINIT_VAR, "SAL noise") InsertTailList(&AllocListHead, &header->ListEntry); } else -- cgit v1.3.1