From: Mark Andrews Date: Mon, 27 Jan 2014 22:43:25 +0000 (+1100) Subject: #if 0/#endif debug only variable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48ad4a65c81690894f1d2fde5158fb7c2e9d9832;p=thirdparty%2Fbind9.git #if 0/#endif debug only variable (cherry picked from commit 373b9944b66f218b3ef1a8bf8eed4731b4f7618a) --- diff --git a/contrib/dlz/drivers/dlz_postgres_driver.c b/contrib/dlz/drivers/dlz_postgres_driver.c index 5cad59e3435..bf458b12476 100644 --- a/contrib/dlz/drivers/dlz_postgres_driver.c +++ b/contrib/dlz/drivers/dlz_postgres_driver.c @@ -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);