summaryrefslogtreecommitdiff
path: root/Mac/PythonLauncher/main.m
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2013-07-07 09:53:08 +0200
committerRonald Oussoren <ronaldoussoren@mac.com>2013-07-07 09:53:08 +0200
commit4e327c9d1cd8f7c7abbc5b9fa4384a801ff3fe59 (patch)
tree86c7d6e4381d92af59f8df4ec9faaf74a1f2f11a /Mac/PythonLauncher/main.m
parent385521c90e35565ceb1bc54ab31b217321fd2d84 (diff)
downloadcpython-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-xMac/PythonLauncher/main.m4
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);
}