Changeset 79736 in vbox
- Timestamp:
- Jul 12, 2019 1:05:39 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r79732 r79736 1727 1727 1728 1728 /* We don't want duplicate validation check of networkMask here*/ 1729 if (srv.GlobalConfig.OptionMap.size() > (itOpt != srv.GlobalConfig.OptionMap.end() ? 1 : 0))1729 if (srv.GlobalConfig.OptionMap.size() > (itOpt != srv.GlobalConfig.OptionMap.end() ? 1U : 0U)) 1730 1730 { 1731 1731 xml::ElementNode *pElmOptions = pElmThis->createChild("Options"); … … 1803 1803 const xml::ElementNode *pElmOptions; 1804 1804 xml::NodesLoop nlOptions(*pelmServer, "Options"); 1805 while ((pElmOptions = nlOptions.forAllNodes()) != NULL) /** @todo this loop makes no sense, there can only be one <Options> child. */1805 while ((pElmOptions = nlOptions.forAllNodes()) != NULL) /** @todo this loop makes no sense, there can only be one \<Options\> child. */ 1806 1806 readDHCPOptions(srv.GlobalConfig, *pElmOptions, true /*fIgnoreSubnetMask*/); 1807 1807
Note:
See TracChangeset
for help on using the changeset viewer.