From 0f1bb8545dd474111939d97a564472505784c610 Mon Sep 17 00:00:00 2001 From: luxsie Date: Sat, 18 Apr 2015 03:12:25 +0800 Subject: [PATCH] Tab to Space. --- rpcs3/Crypto/sha1.cpp | 2 +- rpcs3/Emu/Cell/PPULLVMRecompiler.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rpcs3/Crypto/sha1.cpp b/rpcs3/Crypto/sha1.cpp index 650b1dfa88..7cede4b205 100644 --- a/rpcs3/Crypto/sha1.cpp +++ b/rpcs3/Crypto/sha1.cpp @@ -233,7 +233,7 @@ void sha1_update( sha1_context *ctx, const unsigned char *input, size_t ilen ) size_t fill; uint32_t left; - // TODO:: Syphurith: Orz. It is said that size_t is an unsigned type.. + // TODO:: Syphurith: Orz. It is said that size_t is an unsigned type.. if( ilen <= 0 ) return; diff --git a/rpcs3/Emu/Cell/PPULLVMRecompiler.cpp b/rpcs3/Emu/Cell/PPULLVMRecompiler.cpp index 38a7184167..3dfa186687 100644 --- a/rpcs3/Emu/Cell/PPULLVMRecompiler.cpp +++ b/rpcs3/Emu/Cell/PPULLVMRecompiler.cpp @@ -5820,9 +5820,9 @@ void RecompilationEngine::ProcessExecutionTrace(const ExecutionTrace & execution } } } - // TODO:: Syphurith: It is said that just remove_if would cause some troubles.. I don't know if that would cause Memleak. From CppCheck: - // The return value of std::remove_if() is ignored. This function returns an iterator to the end of the range containing those elements that should be kept. - // Elements past new end remain valid but with unspecified values. Use the erase method of the container to delete them. + // TODO:: Syphurith: It is said that just remove_if would cause some troubles.. I don't know if that would cause Memleak. From CppCheck: + // The return value of std::remove_if() is ignored. This function returns an iterator to the end of the range containing those elements that should be kept. + // Elements past new end remain valid but with unspecified values. Use the erase method of the container to delete them. std::remove_if(processed_execution_trace_i->second.begin(), processed_execution_trace_i->second.end(), [](const BlockEntry * b)->bool { return b->is_compiled; }); }