From 7b82cb06812e5f819b6e5cd6c20b255aa4442d96 Mon Sep 17 00:00:00 2001 From: Per Hedbor <ph@opera.com> Date: Thu, 11 Sep 2014 15:51:28 +0200 Subject: [PATCH] Removed unused function That does not compile with a C++ compiler, incidentally --- src/stralloc.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/stralloc.h b/src/stralloc.h index 4c8d009707..164546c42b 100644 --- a/src/stralloc.h +++ b/src/stralloc.h @@ -336,16 +336,6 @@ ptrdiff_t generic_quick_binary_strcmp(const char *a, const char *b, ptrdiff_t blen, int bsize) ATTRIBUTE((pure)); -/* Does not take locale into account */ - -static INLINE ptrdiff_t __attribute__((unused)) - my_quick_pcharpcmp(const PCHARP a, ptrdiff_t alen, - const PCHARP b, ptrdiff_t blen) -{ - return generic_quick_binary_strcmp(a.ptr, alen, a.shift, - b.ptr, blen, b.shift); -} - ptrdiff_t generic_find_binary_prefix(const char *a, ptrdiff_t alen, int asize, const char *b, -- GitLab