Dropped unused variables
authorSven Strickroth <email@cs-ware.de>
Sun, 14 Apr 2013 14:09:13 +0000 (14 16:09 +0200)
committerSven Strickroth <email@cs-ware.de>
Sun, 14 Apr 2013 14:09:13 +0000 (14 16:09 +0200)
Signed-off-by: Sven Strickroth <email@cs-ware.de>
src/Git/GitStatus.cpp

index 06d07c4..700a68c 100644 (file)
@@ -353,9 +353,6 @@ int GitStatus::GetFileStatus(const CString &gitdir, const CString &pathParam, gi
        {\r
                CString path = pathParam;\r
 \r
-               TCHAR oldpath[MAX_PATH+1];\r
-               memset(oldpath,0,MAX_PATH+1);\r
-\r
                path.Replace(_T('\\'),_T('/'));\r
 \r
                CString lowcasepath =path;\r
@@ -533,9 +530,6 @@ int GitStatus::EnumDirStatus(const CString &gitdir,const CString &subpath,git_wc
 {\r
        try\r
        {\r
-               TCHAR oldpath[MAX_PATH+1];\r
-               memset(oldpath,0,MAX_PATH+1);\r
-\r
                CString path =subpath;\r
 \r
                path.Replace(_T('\\'),_T('/'));\r
@@ -766,9 +760,6 @@ int GitStatus::GetDirStatus(const CString &gitdir,const CString &subpath,git_wc_
 {\r
        try\r
        {\r
-               TCHAR oldpath[MAX_PATH+1];\r
-               memset(oldpath,0,MAX_PATH+1);\r
-\r
                CString path =subpath;\r
 \r
                path.Replace(_T('\\'),_T('/'));\r