Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CTSVNPath
- {
- ....
- private:
- mutable CString m_sBackslashPath;
- mutable CString m_sLongBackslashPath;
- mutable CString m_sFwdslashPath;
- ....
- };
- const FileStatusCacheEntry * SVNFolderStatus::BuildCache(
- const CTSVNPath& filepath, ....)
- {
- ....
- CTraceToOutputDebugString::Instance() (_T(__FUNCTION__)
- _T(": building cache for %s\n"), filepath);
- ....
- }
- This suspicious code was found in TortoiseSVN project by PVS-Studio static code analyzer.
- Warning message is:
- V510 The 'operator()' function is not expected to receive class-type variable as second actual argument. svnfolderstatus.cpp 150
- PVS-Studio is a static analyzer for detecting bugs in the source code of applications written in C, C++, C++11, C++/CX. Site: http://www.viva64.com/en/pvs-studio/
Advertisement
Add Comment
Please, Sign In to add comment