Ignore:
Timestamp:
Feb 26, 2013, 2:43:45 PM (7 years ago)
Author:
sam
Message:

base: start removing occurrences of NULL on our long journey to nullptr.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sys/init.cpp

    r2403 r2506  
    5050
    5151#if defined HAVE_GETCWD
    52     char *cwd = getcwd(NULL, 0);
     52    char *cwd = getcwd(nullptr, 0);
    5353#elif defined HAVE__GETCWD || (defined _WIN32 && !defined _XBOX)
    54     char *cwd = _getcwd(NULL, 0);
     54    char *cwd = _getcwd(nullptr, 0);
    5555#else
    56     char *cwd = NULL;
     56    char *cwd = nullptr;
    5757#endif
    5858    String binarydir = String(cwd ? cwd : ".") + SEPARATOR;
Note: See TracChangeset for help on using the changeset viewer.