VirtualBox

Changeset 63090 in vbox for trunk/src


Ignore:
Timestamp:
Aug 6, 2016 3:07:45 PM (9 years ago)
Author:
vboxsync
Message:

GA/NT/Installer: warnings

Location:
trunk/src/VBox/Additions/WINNT/Installer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Installer/RegCleanup.cpp

    r62686 r63090  
     1/* $Id$ */
    12/** @file
    2  *
    33 * delinvalid - remove "InvalidDisplay" key on NT4
    4  *
     4 */
     5
     6/*
    57 * Copyright (C) 2006-2016 Oracle Corporation
    68 *
     
    2729 */
    2830
     31/*********************************************************************************************************************************
     32*   Header Files                                                                                                                 *
     33*********************************************************************************************************************************/
    2934//#define _UNICODE
    3035
     
    3944
    4045
    41 /*********************************************************************************************************************************
    42 *   Defined Constants And Macros                                                                                                 *
    43 *********************************************************************************************************************************/
    44 
    45 /////////////////////////////////////////////////////////////////////////////
    46 
    47 
    48 BOOL isNT4 (void)
     46BOOL isNT4(void)
    4947{
    5048    OSVERSIONINFO OSversion;
     
    6866}
    6967
    70 int main (int argc, char **argv)
     68int main()
    7169{
    7270    int rc = 0;
     
    8886    return rc;
    8987}
     88
  • trunk/src/VBox/Additions/WINNT/Installer/VBoxDrvInst.cpp

    r62686 r63090  
    2424#endif
    2525
     26#include <iprt/cdefs.h>
    2627#include <VBox/version.h>
    2728
     
    104105        return false;
    105106    }
    106     else
    107     {
    108         _TCHAR *p = _tcschr(pszMsg, _T('\r'));
    109         if (p != NULL)
    110             *p = _T('\0');
    111     }
    112 
     107    _TCHAR *p = _tcschr(pszMsg, _T('\r'));
     108    if (p != NULL)
     109        *p = _T('\0');
    113110    return true;
    114111}
     
    434431int ExecuteInfFile(const _TCHAR *pszSection, int iMode, const _TCHAR *pszInf)
    435432{
     433    RT_NOREF(iMode);
    436434    _tprintf(_T("Installing from INF-File: %ws (Section: %ws) ...\n"),
    437435             pszInf, pszSection);
     
    12501248            {
    12511249                HKEY hRootKey = HKEY_LOCAL_MACHINE;  /** @todo needs to be expanded (argv[3]) */
    1252                 DWORD dwValSize;
     1250                DWORD dwValSize = 0;
    12531251                BYTE *pbVal = NULL;
    12541252                DWORD dwVal;
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