]> granicus.if.org Git - apache/commitdiff
Remove a warning on some platforms.
authorRyan Bloom <rbb@apache.org>
Tue, 19 Dec 2000 19:44:16 +0000 (19:44 +0000)
committerRyan Bloom <rbb@apache.org>
Tue, 19 Dec 2000 19:44:16 +0000 (19:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87426 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_auth_db.c

index dda16130781b31e4fa32f552edc7d66bd110abde..193332f8f4646d194cc9e0039cd2c8453780dc16 100644 (file)
@@ -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));