VirtualBox

Ignore:
Timestamp:
Jul 8, 2009 9:07:47 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49740
Message:

IPRT: gcc warnings when compiled as ISO C

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/log/log.cpp

    r21377 r21381  
    15251525    while (*pszVar)
    15261526    {
     1527        bool fNo;
     1528        unsigned i;
     1529
    15271530        /* skip blanks. */
    15281531        while (RT_C_IS_SPACE(*pszVar))
     
    15321535
    15331536        /* check no prefix. */
    1534         bool fNo = false;
     1537        fNo = false;
    15351538        if (pszVar[0] == 'n' && pszVar[1] == 'o')
    15361539        {
     
    15401543
    15411544        /* instruction. */
    1542         unsigned i;
    15431545        for (i = 0; i < RT_ELEMENTS(s_aLogDst); i++)
    15441546        {
     
    15571559                if (*pszVar == '=' || *pszVar == ':')
    15581560                {
     1561                    const char *pszEnd;
     1562
    15591563                    pszVar++;
    1560                     const char *pszEnd = strchr(pszVar, ';');
     1564                    pszEnd = strchr(pszVar, ';');
    15611565                    if (!pszEnd)
    15621566                        pszEnd = strchr(pszVar, '\0');
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