Skip to content

Commit

Permalink
lib-sieve: ldap storage: Fixed compiler warning occurring under speci…
Browse files Browse the repository at this point in the history
…fic configuration conditions.
  • Loading branch information
stephanbosch committed May 17, 2016
1 parent 5f4db18 commit 634b16b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib-sieve/storage/ldap/sieve-ldap-db.c
Expand Up @@ -797,8 +797,11 @@ int sieve_ldap_db_connect(struct ldap_connection *conn)
const struct sieve_ldap_storage_settings *set = &conn->lstorage->set;
struct sieve_storage *storage = &conn->lstorage->storage;
struct timeval start, end;
int debug_level, ret;
int debug_level;
bool debug;
#if defined(HAVE_LDAP_SASL) || defined(LDAP_HAVE_START_TLS_S)
int ret;
#endif

if (conn->conn_state != LDAP_CONN_STATE_DISCONNECTED)
return 0;
Expand Down

0 comments on commit 634b16b

Please sign in to comment.