]> code.citadel.org Git - citadel.git/blobdiff - libcitadel/tests/stringbuf_IO_test.c
Tests: add StrBufStripAllBut and compare it to stripallbut
[citadel.git] / libcitadel / tests / stringbuf_IO_test.c
index b3446081abcd86e9cc694a6f8b6dca98bf23ce66..24ca8d1d34e2930fa06a4d4881014e51e14b4ebd 100644 (file)
@@ -137,7 +137,6 @@ static void worker_entry(testfunc F)
 {
        int ssock;
        int i = 0;
-       int fail_this_transaction = 0;
        int ret;
        struct timeval tv;
        fd_set readset, tempset;
@@ -150,7 +149,6 @@ static void worker_entry(testfunc F)
 
        do {
                /* Only one thread can accept at a time */
-               fail_this_transaction = 0;
                ssock = -1; 
                errno = EAGAIN;
                do {