From: Julian Seward Date: Fri, 20 Jun 2014 14:17:09 +0000 (+0000) Subject: Remove unused function swapfunc(). X-Git-Tag: svn/VALGRIND_3_10_0~371 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36c6dd0fa04841a2cb7144640b7070e4335cb6cb;p=thirdparty%2Fvalgrind.git Remove unused function swapfunc(). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14066 --- diff --git a/callgrind/dump.c b/callgrind/dump.c index f124b10e48..511a4c324c 100644 --- a/callgrind/dump.c +++ b/callgrind/dump.c @@ -989,16 +989,6 @@ static int my_cmp(BBCC** pbbcc1, BBCC** pbbcc2) * Copyright 1993, John Wiley. */ -static __inline__ -void swapfunc(BBCC** a, BBCC** b, int n) -{ - while(n>0) { - BBCC* t = *a; *a = *b; *b = t; - a++, b++; - n--; - } -} - static __inline__ void swap(BBCC** a, BBCC** b) {