]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove unused function swapfunc().
authorJulian Seward <jseward@acm.org>
Fri, 20 Jun 2014 14:17:09 +0000 (14:17 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 20 Jun 2014 14:17:09 +0000 (14:17 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14066

callgrind/dump.c

index f124b10e48217ac8840d7141613fb5c4b606cc1e..511a4c324c156a2d7b5e96f6009638259589bafa 100644 (file)
@@ -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)
 {