X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/50ef79ad104a8bd26fb21504c13f7e4866824098..d4c9963ace2b653f657c74abecfecb7546c722b1:/src/src/lookups/testdb.c diff --git a/src/src/lookups/testdb.c b/src/src/lookups/testdb.c index 5742485c8..3ecd10401 100644 --- a/src/src/lookups/testdb.c +++ b/src/src/lookups/testdb.c @@ -24,8 +24,6 @@ the find function. */ static void * testdb_open(const uschar * filename, uschar ** errmsg) { -filename = filename; /* Keep picky compilers happy */ -errmsg = errmsg; return (void *)(1); /* Just return something non-null */ } @@ -42,10 +40,6 @@ testdb_find(void * handle, const uschar * filename, const uschar * query, int length, uschar ** result, uschar ** errmsg, uint * do_cache, const uschar * opts) { -handle = handle; /* Keep picky compilers happy */ -filename = filename; -length = length; - if (Ustrcmp(query, "fail") == 0) { *errmsg = US"testdb lookup forced FAIL";