diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2022-05-08 19:56:34 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2022-05-08 19:56:34 +0000 |
commit | 48e1ad598a07f33ae1e17b67d8f552caa5f284bc (patch) | |
tree | 50320d1b87fb7384988279f13bc2b1f7c59c4eb0 /src/VBox/Main/src-client/KeyboardImpl.cpp | |
parent | d5bdf4dd4b3fd6866f1d578511b064453cb8ac5e (diff) | |
download | VirtualBox-svn-48e1ad598a07f33ae1e17b67d8f552caa5f284bc.tar.gz |
Main/src-client/KeyboardImpl.cpp: Adjust to the new rules wrt. to rc -> hrc,vrc usage, ​bugref:10223
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@94923 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Main/src-client/KeyboardImpl.cpp')
-rw-r--r-- | src/VBox/Main/src-client/KeyboardImpl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/VBox/Main/src-client/KeyboardImpl.cpp b/src/VBox/Main/src-client/KeyboardImpl.cpp index 29265923898..48ac2ca31a2 100644 --- a/src/VBox/Main/src-client/KeyboardImpl.cpp +++ b/src/VBox/Main/src-client/KeyboardImpl.cpp @@ -113,8 +113,8 @@ HRESULT Keyboard::init(Console *aParent) unconst(mParent) = aParent; unconst(mEventSource).createObject(); - HRESULT rc = mEventSource->init(); - AssertComRCReturnRC(rc); + HRESULT hrc = mEventSource->init(); + AssertComRCReturnRC(hrc); /* Confirm a successful initialization */ autoInitSpan.setSucceeded(); @@ -313,9 +313,9 @@ HRESULT Keyboard::releaseKeys() if (pUpPort) { - int rc = pUpPort->pfnReleaseKeys(pUpPort); - if (RT_FAILURE(rc)) - AssertMsgFailed(("Failed to release keys on all keyboards! rc=%Rrc\n", rc)); + int vrc = pUpPort->pfnReleaseKeys(pUpPort); + if (RT_FAILURE(vrc)) + AssertMsgFailed(("Failed to release keys on all keyboards! vrc=%Rrc\n", vrc)); } return S_OK; |