Skip to content

Commit e37737b

Browse files
committed
+semver: minor
1 parent cf5fa5e commit e37737b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Usbipd/NewDev.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public static bool UnforceVBoxDriver(string originalInstanceId)
106106
}
107107

108108
BOOL reboot = false;
109-
unsafe
109+
unsafe // DevSkim: ignore DS172412
110110
{
111111
// First, we must set a NULL driver, just in case no default driver exists.
112112
using var deviceInfoSet = PInvoke.SetupDiCreateDeviceInfoList(null, default);
@@ -132,7 +132,7 @@ public static bool UnforceVBoxDriver(string originalInstanceId)
132132
// 200 ms seems to work, so delay for 500 ms for good measure...
133133
Thread.Sleep(TimeSpan.FromMilliseconds(500));
134134

135-
unsafe
135+
unsafe // DevSkim: ignore DS172412
136136
{
137137
// Now we let Windows install the default PnP driver.
138138
// We don't fail if no such driver can be found.

0 commit comments

Comments
 (0)