Mercurial > cpython-lru_cache-weakref
diff Mac/PythonLauncher/main.m @ 84479:738cba2bf849 3.3
Issue #18377: Code cleanup in Python Launcher
This changeset fixes a number of compiler warnings in the Python Launcher
binary for OSX. It also cleans up whitespace usage in those sources.
| author | Ronald Oussoren <ronaldoussoren@mac.com> |
|---|---|
| date | Sun, 07 Jul 2013 09:53:08 +0200 |
| parents | a19c20c5e5c7 |
| children |
line wrap: on
line diff
--- a/Mac/PythonLauncher/main.m Sun Jul 07 09:26:45 2013 +0200 +++ b/Mac/PythonLauncher/main.m Sun Jul 07 09:53:08 2013 +0200 @@ -11,7 +11,7 @@ int main(int argc, const char *argv[]) { - char *home = getenv("HOME"); - if (home) chdir(home); + char *home = getenv("HOME"); + if (home) chdir(home); return NSApplicationMain(argc, argv); }
