OSDN Git Service
(root)
/
winmerge-jp
/
winmerge-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7e29fe
)
Disable unused code
author
Christian List
<list1974@hotmail.com>
Tue, 14 Jan 2003 17:37:44 +0000
(17:37 +0000)
committer
Christian List
<list1974@hotmail.com>
Tue, 14 Jan 2003 17:37:44 +0000
(17:37 +0000)
Src/Common/coretools.cpp
patch
|
blob
|
history
diff --git
a/Src/Common/coretools.cpp
b/Src/Common/coretools.cpp
index
9db44d4
..
5c002a0
100644
(file)
--- a/
Src/Common/coretools.cpp
+++ b/
Src/Common/coretools.cpp
@@
-65,6
+65,8
@@
DWORD GetFileSizeEx(LPCTSTR szFilename)
return 0L;
}
+#if UNUSED_CODE
+// 2002-12-08, These are not used, and the UNICODE versions are wrong (wstrcpy ??)
void WriteWcsFromMbs(CFile* cf, LPCTSTR szSrc, DWORD dwCount)
{
static wchar_t wstr[1024];
@@
-148,6
+150,7
@@
void ReadWcsToMbs(HANDLE hf, LPTSTR szDest, DWORD dwCount)
wcstombs(szDest, wstr, wcslen(wstr)+1);
#endif
}
+#endif // UNUSED_CODE
int tcssubptr(LPCTSTR start, LPCTSTR end)
@@
-162,7
+165,6
@@
int tcssubptr(LPCTSTR start, LPCTSTR end)
return cnt;
}
-
BOOL DoModalProcess(CWnd *pWndParent, LPCTSTR szExeFile,
LPCTSTR szCmdLine, LPCTSTR szWindowCaption)
{