summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-09-21 23:08:34 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-09-21 23:08:34 +0300
commit8c2496120f46b59641cac79a431c51d12606a6dd (patch)
treea18dc51a5f024fcda5c7655eff9efce00bd96a0b /protocols/Discord/src/proto.cpp
parentde49de5f2c3fd25902a263b047ff8c71f5d43545 (diff)
Discord: two more fixed comparisons
Diffstat (limited to 'protocols/Discord/src/proto.cpp')
-rw-r--r--protocols/Discord/src/proto.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/protocols/Discord/src/proto.cpp b/protocols/Discord/src/proto.cpp
index 941fc5917b..7784b1f761 100644
--- a/protocols/Discord/src/proto.cpp
+++ b/protocols/Discord/src/proto.cpp
@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdafx.h"
-__forceinline int compareInt64(const SnowFlake i1, const SnowFlake i2)
-{
- return (i1 == i2) ? 0 : (i1 < i2) ? -1 : 1;
-}
-
static int compareMessages(const SnowFlake *p1, const SnowFlake *p2)
{
return compareInt64(*p1, *p2);