Mercurial > dovecot > core-2.2
diff src/lib-storage/index/dbox-common/dbox-storage.c @ 15170:b6663a4f60fe
Compiler warning fix for previous change
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 28 Sep 2012 15:11:54 +0300 |
parents | 48ee8bad7d51 |
children | ce57bacc3010 |
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-common/dbox-storage.c Fri Sep 28 15:07:11 2012 +0300 +++ b/src/lib-storage/index/dbox-common/dbox-storage.c Fri Sep 28 15:11:54 2012 +0300 @@ -2,6 +2,7 @@ #include "lib.h" #include "ioloop.h" +#include "abspath.h" #include "fs-api.h" #include "mkdir-parents.h" #include "unlink-old-files.h" @@ -32,7 +33,6 @@ const char *alt_path, const char *alt_symlink_path) { const char *linkpath; - ssize_t ret; if (t_readlink(alt_symlink_path, &linkpath) < 0) { if (errno == ENOENT)