projects
/
openitg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea4d6a4
)
The CString overload of GetSha1ForFile is never called, disable it to avoid a warning
author
Mikko Rasa
<tdb@tdb.fi>
Wed, 2 Nov 2011 12:05:22 +0000
(14:05 +0200)
committer
Mikko Rasa
<tdb@tdb.fi>
Wed, 2 Nov 2011 12:05:22 +0000
(14:05 +0200)
src/CryptHelpers.cpp
patch
|
blob
|
history
diff --git
a/src/CryptHelpers.cpp
b/src/CryptHelpers.cpp
index
076e23f
..
fa6ade7
100755
(executable)
--- a/
src/CryptHelpers.cpp
+++ b/
src/CryptHelpers.cpp
@@
-84,6
+84,7
@@
static bool GetSha1ForFile( RageFileBasic &f, unsigned char *szHash )
return true;
}
+#ifdef UNUSED_CODE
static bool GetSha1ForFile( CString &sFile, unsigned char *szHash )
{
RageFile f;
@@
-92,6
+93,7
@@
static bool GetSha1ForFile( CString &sFile, unsigned char *szHash )
f.Close();
return bGot;
}
+#endif
bool CryptHelpers::GenerateRSAKey( unsigned int keyLength, CString sSeed, CString &sPublicKey, CString &sPrivateKey )
{