VirtualBox

Changeset 8148 in vbox


Ignore:
Timestamp:
Apr 18, 2008 1:52:58 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
29854
Message:

iShort must be > 0, so assert on that.

File:
1 edited

Legend:

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

    r8147 r8148  
    5454        {
    5555            Assert(!(paOptions[i].fFlags & ~RTGETOPT_VALID_MASK));
     56            Assert(paOptions[i].iShort > 0);
    5657
    5758            if ((paOptions[i].fFlags & RTGETOPT_REQ_MASK) != RTGETOPT_REQ_NOTHING)
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