From 911578cde753c17209a6d3ff678f32e24df2e181 Mon Sep 17 00:00:00 2001 From: CodeCodon Date: Sun, 9 Aug 2015 01:21:06 -0500 Subject: [PATCH] fix some more warns --- .../sharedDatabaseInterface/src/shared/logger/DbLogEvent.h | 2 +- external/ours/library/crypto/src/shared/original/cryptlib.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/shared/library/sharedDatabaseInterface/src/shared/logger/DbLogEvent.h b/engine/shared/library/sharedDatabaseInterface/src/shared/logger/DbLogEvent.h index bbe2debf..e02c4486 100644 --- a/engine/shared/library/sharedDatabaseInterface/src/shared/logger/DbLogEvent.h +++ b/engine/shared/library/sharedDatabaseInterface/src/shared/logger/DbLogEvent.h @@ -27,7 +27,7 @@ namespace DB * Default constructor stored the current system time in eventTime. */ LogEvent(); - + virtual ~LogEvent(){return;}; public: /** * Saves the LogEvent to the database. diff --git a/external/ours/library/crypto/src/shared/original/cryptlib.cpp b/external/ours/library/crypto/src/shared/original/cryptlib.cpp index d4d6ae01..c3c1df06 100644 --- a/external/ours/library/crypto/src/shared/original/cryptlib.cpp +++ b/external/ours/library/crypto/src/shared/original/cryptlib.cpp @@ -51,7 +51,7 @@ void StreamCipher::ProcessString(byte *outString, const byte *inString, unsigned void StreamCipher::ProcessString(byte *inoutString, unsigned int length) { while(length--) - *inoutString++ = ProcessByte(*inoutString); + *inoutString++ = ProcessByte(*inoutString); //TODO: order of operations issue here, per the warning } bool HashModule::Verify(const byte *digestIn)