diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2013-07-07 09:53:08 +0200 |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2013-07-07 09:53:08 +0200 |
commit | 4e327c9d1cd8f7c7abbc5b9fa4384a801ff3fe59 (patch) | |
tree | 86c7d6e4381d92af59f8df4ec9faaf74a1f2f11a /Mac/PythonLauncher/main.m | |
parent | 385521c90e35565ceb1bc54ab31b217321fd2d84 (diff) | |
download | cpython-git-4e327c9d1cd8f7c7abbc5b9fa4384a801ff3fe59.tar.gz |
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.
Diffstat (limited to 'Mac/PythonLauncher/main.m')
-rwxr-xr-x | Mac/PythonLauncher/main.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/PythonLauncher/main.m b/Mac/PythonLauncher/main.m index 6841433f42..04b4d7321f 100755 --- a/Mac/PythonLauncher/main.m +++ b/Mac/PythonLauncher/main.m @@ -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); } |