From f5eb208a573f09a829af7c4caf23c60973442ab2 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sun, 14 Apr 2013 16:09:13 +0200 Subject: [PATCH] Dropped unused variables Signed-off-by: Sven Strickroth --- src/Git/GitStatus.cpp | 9 --------- 1 file changed, 9 deletions(-) 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('/')); -- 2.11.4.GIT