Extra diagnostics in the hope that we can track down the problem with
[u/mdw/putty] / tree234.c
index 1aac3a6..017a12a 100644 (file)
--- a/tree234.c
+++ b/tree234.c
@@ -39,7 +39,8 @@
 #ifdef TEST
 #define LOG(x) (printf x)
 #else
-#define LOG(x)
+// FIXME
+#define LOG(x) (dprintf x)
 #endif
 
 typedef struct node234_Tag node234;
@@ -572,7 +573,6 @@ static void *delpos234_internal(tree234 *t, int index) {
     LOG(("deleting item %d from tree %p\n", index, t));
     while (1) {
        while (n) {
-           int c;
            int ki;
            node234 *sub;