VirtualBox

Changeset 98009 in vbox for trunk/include


Ignore:
Timestamp:
Jan 6, 2023 2:45:10 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
155103
Message:

iprt/bldprog-strtab-template.cpp.h: shut up solaris warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/bldprog-strtab-template.cpp.h

    r96577 r98009  
    379379                if (chSep != '\0')
    380380                {
    381                     BLDPROGWORDFREQSTATS NewWord = { 0, 0, chSep };
     381                    BLDPROGWORDFREQSTATS const NewWord = { 0, 0, chSep };
    382382                    pThis->Frequencies[strWord] = NewWord;
    383383                }
    384384                else
    385 # endif
    386385                {
    387                     static BLDPROGWORDFREQSTATS s_NewWord = { 0 };
     386                    static BLDPROGWORDFREQSTATS const s_NewWord = { 0, 0, 0 };
    388387                    pThis->Frequencies[strWord] = s_NewWord;
    389388                }
     389# else
     390                pThis->Frequencies[strWord].cWithoutSep = 0;
     391# endif
    390392            }
    391393
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