]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
#if 0/#endif debug only variable
authorMark Andrews <marka@isc.org>
Mon, 27 Jan 2014 22:43:25 +0000 (09:43 +1100)
committerMark Andrews <marka@isc.org>
Mon, 27 Jan 2014 22:43:59 +0000 (09:43 +1100)
(cherry picked from commit 373b9944b66f218b3ef1a8bf8eed4731b4f7618a)

contrib/dlz/drivers/dlz_postgres_driver.c

index 5cad59e34358e142c3f6c374dd3aeadd484a1976..bf458b124762b136125bec4c49c10dbd5ce0d995 100644 (file)
@@ -292,8 +292,10 @@ postgres_get_resultset(const char *zone, const char *record,
        unsigned int i = 0;
        unsigned int j = 0;
 
+#if 0
        /* temporarily get a unique thread # */
        unsigned int dlz_thread_num = 1+(int) (1000.0*rand()/(RAND_MAX+1.0));
+#endif
 
        REQUIRE(*rs == NULL);