VirtualBox

Changeset 11314 in vbox for trunk


Ignore:
Timestamp:
Aug 9, 2008 7:22:04 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
34409
Message:

gcc is too pedantic but this cannot hurt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/GuestProperties/service.cpp

    r11122 r11314  
    415415    {
    416416        char *pszFlags;
    417         uint32_t cchFlags;
     417        uint32_t cchFlags = 0;
    418418        rc = VBoxHGCMParmPtrGet(&paParms[2], (void **) &pszFlags, &cchFlags);
    419419        for (size_t i = 0; (i < cchFlags - 1) && RT_SUCCESS(rc); ++i)
     
    576576 */
    577577    char *paszPatterns = NULL, *pchBuf = NULL;
    578     uint32_t cchPatterns, cchBuf;
     578    uint32_t cchPatterns = 0, cchBuf = 0;
    579579    LogFlowThisFunc(("\n"));
    580580    if (   (cParms != 3)  /* Hardcoded value as the next lines depend on it. */
Note: See TracChangeset for help on using the changeset viewer.

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