]> 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:25 +0000 (09:43 +1100)
contrib/dlz/drivers/dlz_postgres_driver.c

index 8bd061236aaca394437ed465356f50e9cfa44401..ac64c8fbe8309aa3e77207a860504e2b05753663 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);