VirtualBox

Changeset 73029 in vbox for trunk


Ignore:
Timestamp:
Jul 10, 2018 10:14:16 AM (7 years ago)
Author:
vboxsync
Message:

VBoxManageDisk.cpp: make gcc happy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp

    r72998 r73029  
    20762076    }
    20772077
    2078     memset(bstrPassword.mutableRaw(), '*', bstrPassword.length() * sizeof(RTUTF16));
     2078    if (bstrPassword.isNotEmpty())
     2079        memset(bstrPassword.mutableRaw(), '*', bstrPassword.length() * sizeof(RTUTF16));
    20792080    return SUCCEEDED(hrc) ? RTEXITCODE_SUCCESS : RTEXITCODE_FAILURE;
    20802081}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette