fix build without BDB

amends 83ebe902.

REFMAIL: CAHyO48z0DcoFPC8rCNAL38oxVQtZNKifVd-NEF3sp1EfR-GgxQ@mail.gmail.com
This commit is contained in:
Oswald Buddenhagen 2017-05-14 09:37:37 +02:00
parent bb632d1cd0
commit 1039ee25f7

View File

@ -1788,9 +1788,7 @@ static void
maildir_close_box( store_t *gctx, maildir_close_box( store_t *gctx,
void (*cb)( int sts, void *aux ), void *aux ) void (*cb)( int sts, void *aux ), void *aux )
{ {
#ifdef USE_DB
maildir_store_t *ctx = (maildir_store_t *)gctx; maildir_store_t *ctx = (maildir_store_t *)gctx;
#endif /* USE_DB */
message_t *msg; message_t *msg;
int basel, retry, ret; int basel, retry, ret;
char buf[_POSIX_PATH_MAX]; char buf[_POSIX_PATH_MAX];