From 42605ce8bcc9bd01b86491c74fee14de77960868 Mon Sep 17 00:00:00 2001 From: s_nakamoto Date: Wed, 26 May 2010 00:05:26 +0000 Subject: better prevention of inventory relaying during initial download, message checksum between nodes with 0.2.9 or higher, optimization level up from -O0 to -O2, rpc functions: setlabel, getlabel, getaddressesbylabel, getreceivedbyaddress, getreceivedbylabel, listreceivedbyaddress, listreceivedbylabel -- version 0.2.9 git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@78 1a98c847-1fd6-4fd8-948a-caf3550aa51b --- util.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'util.cpp') diff --git a/util.cpp b/util.cpp index 8f6bf38c4..49f86d2de 100644 --- a/util.cpp +++ b/util.cpp @@ -250,11 +250,6 @@ string strprintf(const char* format, ...) if (p == NULL) throw std::bad_alloc(); } -#ifdef _MSC_VER - // msvc optimisation - if (p == buffer) - return string(p, p+ret); -#endif string str(p, p+ret); if (p != buffer) delete p; -- cgit v1.2.3