VirtualBox

Changeset 23315 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Sep 25, 2009 1:40:08 AM (15 years ago)
Author:
vboxsync
Message:

VBox/hgcmsvc.h,GuestProperties/service.cpp: gcc 4.0.1 warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/hgcmsvc.h

    r21669 r23315  
    202202        int rc = getBuffer((void **)&pch, &cb);
    203203        if (RT_FAILURE(rc))
     204        {
     205            *ppch = NULL;
     206            *pcb = 0;
    204207            return rc;
     208        }
    205209        rc = RTStrValidateEncodingEx(pch, cb,
    206210                                     RTSTR_VALIDATE_ENCODING_ZERO_TERMINATED);
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