VirtualBox

Ignore:
Timestamp:
Apr 18, 2020 2:17:26 PM (5 years ago)
Author:
vboxsync
Message:

VBoxBalloonCtrl: VC++ 14.1 adjustments. Only include libc++ headers where needed. Elimited stupid std::string usage in --help, reformatted --help output. [build fix] bugref:8489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBalloonCtrl/VBoxWatchdog.cpp

    r83798 r83800  
    5353#include <iprt/time.h>
    5454
     55#include <algorithm>
    5556#include <signal.h>
    5657
     
    849850    for (unsigned i = 0; i < RT_ELEMENTS(g_aOptions); i++)
    850851    {
    851         const char *pcszDescr = "";
     852        const char *pcszDescr;
    852853        switch (g_aOptions[i].iShort)
    853854        {
     
    888889                pcszDescr = "Maximum time interval to trigger log rotation (seconds).";
    889890                break;
     891            default:
     892                AssertFailedBreakStmt(pcszDescr = "");
    890893        }
    891894
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