diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-10-10 12:37:34 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-10-10 12:37:34 (GMT) |
commit | 7ac2d8cc226958fbe8a0c9014c2cadae69a31e06 (patch) | |
tree | e6517dda469d13b97d96a4dcd49f09bd94b54005 | |
parent | 2c3171b7932c069b7f8c7bbfdbdb199251e2399e (diff) | |
download | tcl-7ac2d8cc226958fbe8a0c9014c2cadae69a31e06.zip tcl-7ac2d8cc226958fbe8a0c9014c2cadae69a31e06.tar.gz tcl-7ac2d8cc226958fbe8a0c9014c2cadae69a31e06.tar.bz2 |
Fix minor msvc compiler warning in tclWinFile.c
-rwxr-xr-x | win/tclWinFile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c index 73a2183..41de4a8 100755 --- a/win/tclWinFile.c +++ b/win/tclWinFile.c @@ -1479,8 +1479,7 @@ TclpGetUserHome( * User exists but has no home dir. Return * "{GetProfilesDirectory}/<user>". */ - DWORD size = MAX_PATH; - int i; + DWORD i, size = MAX_PATH; getProfilesDirectoryProc(buf, &size); for (i = 0; i < size; ++i){ if (buf[i] == '\\') buf[i] = '/'; |