VirtualBox

Changeset 25954 in vbox


Ignore:
Timestamp:
Jan 21, 2010 10:47:38 AM (15 years ago)
Author:
vboxsync
Message:

VBoxClient: gcc warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/main.cpp

    r25942 r25954  
    6565        delete g_pService;
    6666    }
    67     if (g_szPidFile && g_hPidFile)
     67    if (g_szPidFile[0] && g_hPidFile)
    6868        VbglR3ClosePidFile(g_szPidFile, g_hPidFile);
    6969    VbglR3Term();
     
    255255        return 1;
    256256    }
    257     if (g_szPidFile && RT_FAILURE(VbglR3PidFile(g_szPidFile, &g_hPidFile)))
     257    if (g_szPidFile[0] && RT_FAILURE(VbglR3PidFile(g_szPidFile, &g_hPidFile)))
    258258    {
    259259        RTPrintf("Failed to create a pidfile.  Exiting.\n");
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