VirtualBox

Ignore:
Timestamp:
Feb 4, 2010 12:29:45 PM (15 years ago)
Author:
vboxsync
Message:

VBoxServiceTimeSyncSet: Drop the return value, nobody is using it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceTimeSync.cpp

    r26211 r26231  
    435435 * @param   pDrift              The time adjustment.
    436436 */
    437 static bool VBoxServiceTimeSyncSet(PCRTTIMESPEC pDrift)
     437static void VBoxServiceTimeSyncSet(PCRTTIMESPEC pDrift)
    438438{
    439439    /*
     
    460460#endif
    461461        }
    462 
    463         return true;
    464     }
    465 
    466     if (g_cTimeSyncErrors++ < 10)
     462    }
     463    else if (g_cTimeSyncErrors++ < 10)
    467464        VBoxServiceError("RTTimeSet(%RDtimespec) failed: %Rrc\n", &NewGuestTime, rc);
    468     return false;
    469465}
    470466
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