summaryrefslogtreecommitdiff
path: root/Mac/PythonLauncher/main.m
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2013-07-07 09:54:08 +0200
committerRonald Oussoren <ronaldoussoren@mac.com>2013-07-07 09:54:08 +0200
commit071029fac6c074c801d5dc292d250c77c189ea3f (patch)
treea1d03a323fb8f9668357aed04ab8180a00ce1b9a /Mac/PythonLauncher/main.m
parent5f8e78545ce03c12207cff711001e162539beb75 (diff)
parent4e327c9d1cd8f7c7abbc5b9fa4384a801ff3fe59 (diff)
downloadcpython-git-071029fac6c074c801d5dc292d250c77c189ea3f.tar.gz
(3.3->default) 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);
}