From: Ryan Bloom Date: Tue, 19 Dec 2000 19:44:16 +0000 (+0000) Subject: Remove a warning on some platforms. X-Git-Tag: APACHE_2_0_BETA_CANDIDATE_1~400 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2c9db9fbbd266973f3943e68db1b5da08499090;p=apache Remove a warning on some platforms. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87426 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/aaa/mod_auth_db.c b/modules/aaa/mod_auth_db.c index dda1613078..193332f8f4 100644 --- a/modules/aaa/mod_auth_db.c +++ b/modules/aaa/mod_auth_db.c @@ -165,7 +165,9 @@ static char *get_db_pw(request_rec *r, char *user, const char *auth_dbpwfile) DB *f; DBT d, q; char *pw = NULL; +#if DB_VER > 1 int retval; +#endif memset(&d, 0, sizeof(d)); memset(&q, 0, sizeof(q));