summaryrefslogtreecommitdiff
path: root/usb/usbview/debug.c
diff options
context:
space:
mode:
authorWei Mao <[email protected]>2017-03-15 12:58:20 -0700
committerWei Mao <[email protected]>2017-03-15 12:58:20 -0700
commit80cc22cbdea1de8d21eb406bf351a916ca2c4b43 (patch)
tree6ea96c638c1b8041f12aab4dc7d19d5d952a2e73 /usb/usbview/debug.c
parent6b8cbe40b82f442860902752ff2df18ac1daf229 (diff)
[usb] Fix Code Analysis Warnings
Diffstat (limited to 'usb/usbview/debug.c')
-rw-r--r--usb/usbview/debug.c3
1 files changed, 2 insertions, 1 deletions
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