Changeset 71636 in vbox
- Timestamp:
- Apr 3, 2018 5:54:57 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestFileImpl.cpp
r71560 r71636 434 434 return VERR_INVALID_PARAMETER; 435 435 436 int vrc = VINF_SUCCESS;436 int rc = VINF_SUCCESS; 437 437 438 438 int idx = 1; /* Current parameter index. */ … … 452 452 AssertRC(rc2); 453 453 454 rc2 = signalWaitEventInternal(pCbCtx, rcGuest, NULL /* pPayload */); 455 AssertRC(rc2); 456 454 /* Ignore rc, as the event to signal might not be there (anymore). */ 455 signalWaitEventInternal(pCbCtx, rcGuest, NULL /* pPayload */); 457 456 return VINF_SUCCESS; /* Report to the guest. */ 458 457 } … … 483 482 } 484 483 else 485 vrc = VERR_NOT_SUPPORTED;484 rc = VERR_NOT_SUPPORTED; 486 485 487 486 break; … … 517 516 } 518 517 else 519 vrc = VERR_NOT_SUPPORTED;518 rc = VERR_NOT_SUPPORTED; 520 519 break; 521 520 } … … 538 537 } 539 538 else 540 vrc = VERR_NOT_SUPPORTED;539 rc = VERR_NOT_SUPPORTED; 541 540 break; 542 541 } … … 558 557 } 559 558 else 560 vrc = VERR_NOT_SUPPORTED;559 rc = VERR_NOT_SUPPORTED; 561 560 break; 562 561 } … … 578 577 } 579 578 else 580 vrc = VERR_NOT_SUPPORTED;579 rc = VERR_NOT_SUPPORTED; 581 580 break; 582 581 } 583 582 584 583 default: 585 vrc = VERR_NOT_SUPPORTED;586 break; 587 } 588 589 if (RT_SUCCESS( vrc))584 rc = VERR_NOT_SUPPORTED; 585 break; 586 } 587 588 if (RT_SUCCESS(rc)) 590 589 { 591 590 GuestWaitEventPayload payload(dataCb.uType, &dataCb, sizeof(dataCb)); 592 int rc2 = signalWaitEventInternal(pCbCtx, rcGuest, &payload); 593 AssertRC(rc2); 594 } 595 596 LogFlowThisFunc(("uType=%RU32, rcGuest=%Rrc\n", 597 dataCb.uType, dataCb.rc)); 598 599 LogFlowFuncLeaveRC(vrc); 600 return vrc; 591 592 /* Ignore rc, as the event to signal might not be there (anymore). */ 593 signalWaitEventInternal(pCbCtx, rcGuest, &payload); 594 } 595 596 LogFlowThisFunc(("uType=%RU32, rcGuest=%Rrc, rc=%Rrc\n", dataCb.uType, rcGuest, rc)); 597 return rc; 601 598 } 602 599
Note:
See TracChangeset
for help on using the changeset viewer.