From: Sven Strickroth Date: Sun, 14 Apr 2013 14:09:13 +0000 (+0200) Subject: Dropped unused variables X-Git-Tag: REL_1.8.3.0_EXTERNAL~53 X-Git-Url: https://repo.or.cz/w/TortoiseGit.git/commitdiff_plain/f5eb208a573f09a829af7c4caf23c60973442ab2 Dropped unused variables Signed-off-by: Sven Strickroth --- diff --git a/src/Git/GitStatus.cpp b/src/Git/GitStatus.cpp index 06d07c4aa..700a68c06 100644 --- a/src/Git/GitStatus.cpp +++ b/src/Git/GitStatus.cpp @@ -353,9 +353,6 @@ int GitStatus::GetFileStatus(const CString &gitdir, const CString &pathParam, gi { CString path = pathParam; - TCHAR oldpath[MAX_PATH+1]; - memset(oldpath,0,MAX_PATH+1); - path.Replace(_T('\\'),_T('/')); CString lowcasepath =path; @@ -533,9 +530,6 @@ int GitStatus::EnumDirStatus(const CString &gitdir,const CString &subpath,git_wc { try { - TCHAR oldpath[MAX_PATH+1]; - memset(oldpath,0,MAX_PATH+1); - CString path =subpath; path.Replace(_T('\\'),_T('/')); @@ -766,9 +760,6 @@ int GitStatus::GetDirStatus(const CString &gitdir,const CString &subpath,git_wc_ { try { - TCHAR oldpath[MAX_PATH+1]; - memset(oldpath,0,MAX_PATH+1); - CString path =subpath; path.Replace(_T('\\'),_T('/'));