Skip to content

Commit 6581486

Browse files
Suppress a PREfast false positive in config flag handling
1 parent 0cd5f64 commit 6581486

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/ch/HostConfigFlags.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ void HostConfigFlags::RemoveArg(int& argc, _Inout_updates_to_(argc, argc) LPWSTR
9696
Assert(index >= 0 && index < argc);
9797
for (int i = index + 1; i < argc; ++i)
9898
{
99+
#pragma prefast(suppress:6385, "Operation is safe but PREfast is difficult to convince")
99100
argv[i - 1] = argv[i];
100101
}
101102
--argc;

0 commit comments

Comments
 (0)