about summary refs log tree commit diff
path: root/editor/pgmmedian.c
diff options
context:
space:
mode:
Diffstat (limited to 'editor/pgmmedian.c')
-rw-r--r--editor/pgmmedian.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/pgmmedian.c b/editor/pgmmedian.c
index 9d90b6b3..4648af68 100644
--- a/editor/pgmmedian.c
+++ b/editor/pgmmedian.c
@@ -132,13 +132,12 @@ select489(gray * const a,
 
     gray t;
     int i, j, l, r;
-    int ptmp, ttmp;
+    int ptmp;
 
     l = 0;
     r = n - 1;
     while ( r > l ) {
         t = a[parray[k]];
-        ttmp = parray[k];
         i = l;
         j = r;
         ptmp = parray[l];