From 97fc03c636827de834ea987e3c4e40e008ab692f Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sat, 17 May 2014 15:07:19 +0200 Subject: [PATCH] No need for an explicit cast Signed-off-by: Sven Strickroth --- src/Git/GitStatus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Git/GitStatus.cpp b/src/Git/GitStatus.cpp index 186663fe2..9d30510c4 100644 --- a/src/Git/GitStatus.cpp +++ b/src/Git/GitStatus.cpp @@ -173,13 +173,13 @@ void GitStatus::GetStatus(const CTGitPath& path, bool /*update*/ /* = false */, if(path.IsDirectory()) { - err = GetDirStatus(sProjectRoot,CString(lpszSubPath),&m_status.text_status , isfull, false,!noignore, NULL, NULL); + err = GetDirStatus(sProjectRoot,lpszSubPath,&m_status.text_status , isfull, false,!noignore, NULL, NULL); if (m_status.text_status == git_wc_status_added || m_status.text_status == git_wc_status_deleted) // fix for issue #1769; a folder is either modified, conflicted or normal m_status.text_status = git_wc_status_modified; } else { - err = GetFileStatus(sProjectRoot, CString(lpszSubPath), &m_status.text_status ,isfull, false,!noignore, NULL,NULL, &m_status.assumeValid, &m_status.skipWorktree); + err = GetFileStatus(sProjectRoot, lpszSubPath, &m_status.text_status ,isfull, false,!noignore, NULL,NULL, &m_status.assumeValid, &m_status.skipWorktree); } } -- 2.11.4.GIT