Changeset 107554 in vbox
- Timestamp:
- Jan 9, 2025 8:41:09 AM (5 months ago)
- svn:sync-xref-src-repo-rev:
- 166627
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/win/testcase/USBTest.cpp
r106061 r107554 346 346 int __cdecl main(int argc, char **argv) 347 347 { 348 int rc; 349 int c; 350 RT_NOREF2(argc, argv); 348 RT_NOREF(argc, argv); 351 349 352 350 RTPrintf("USB test\n"); 353 351 354 rc = usbMonitorInit(); 355 AssertRC(rc); 352 int rc = usbMonitorInit(); 353 if (RT_FAILURE(rc)) 354 return RTEXITCODE_FAILURE; 356 355 357 356 void *pId1, *pId2, *pId3; … … 362 361 363 362 RTPrintf("Waiting to capture devices... enter 'r' to run filters\n"); 364 c = RTStrmGetCh(g_pStdIn);363 int const c = RTStrmGetCh(g_pStdIn); 365 364 if (c == 'r') 366 365 { … … 378 377 usbMonRemoveFilter(pId3); 379 378 380 rc = usbMonitorTerm(); 381 382 return 0; 383 } 384 379 usbMonitorTerm(); 380 return RTEXITCODE_SUCCESS; 381 } 382
Note:
See TracChangeset
for help on using the changeset viewer.