summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2023-02-28 10:32:48 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2023-02-28 10:32:48 +0000
commitad06db6f8b10e89c8d8495e67375ff8d021b4da9 (patch)
tree88b83798a64840bbcb629e3530a0c188fa085e55
parent3f0d6c4731247bcefd0841c635772f8d57340616 (diff)
downloadVirtualBox-svn-ad06db6f8b10e89c8d8495e67375ff8d021b4da9.tar.gz
Guest Control/Main: Compilation fixes when VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS is set. bugref:9783
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98777 cfe28804-0f27-0410-a406-dd0f0b0b656f
-rw-r--r--src/VBox/Main/src-client/GuestSessionImpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/VBox/Main/src-client/GuestSessionImpl.cpp b/src/VBox/Main/src-client/GuestSessionImpl.cpp
index 16addc831e0..9fc9bb592c8 100644
--- a/src/VBox/Main/src-client/GuestSessionImpl.cpp
+++ b/src/VBox/Main/src-client/GuestSessionImpl.cpp
@@ -1363,7 +1363,7 @@ int GuestSession::i_fsCreateTemp(const Utf8Str &strTemplate, const Utf8Str &strP
{
PCALLBACKDATA_FS_NOTIFY const pFsNotify = (PCALLBACKDATA_FS_NOTIFY)pEvent->Payload().Raw();
AssertPtrReturn(pFsNotify, VERR_INVALID_POINTER);
- vrcGuest = (int)pFsNotify->rc;
+ int vrcGuest = (int)pFsNotify->rc;
if (RT_SUCCESS(vrcGuest))
{
AssertReturn(pFsNotify->uType == GUEST_FS_NOTIFYTYPE_CREATE_TEMP, VERR_INVALID_PARAMETER);
@@ -2115,7 +2115,7 @@ int GuestSession::i_fsQueryInfo(const Utf8Str &strPath, bool fFollowSymlinks, Gu
{
PCALLBACKDATA_FS_NOTIFY const pFsNotify = (PCALLBACKDATA_FS_NOTIFY)pEvent->Payload().Raw();
AssertPtrReturn(pFsNotify, VERR_INVALID_POINTER);
- vrcGuest = (int)pFsNotify->rc;
+ int vrcGuest = (int)pFsNotify->rc;
if (RT_SUCCESS(vrcGuest))
{
AssertReturn(pFsNotify->uType == GUEST_FS_NOTIFYTYPE_QUERY_INFO, VERR_INVALID_PARAMETER);