From: Howard Chu Date: Wed, 29 Jul 2015 19:03:43 +0000 (+0100) Subject: ITS#8192 cleanup unused label on WIN32 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d4f9568249f51c65e7dc1e16e9645d326c57d032;p=openldap ITS#8192 cleanup unused label on WIN32 --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 6ccce2d3a2..12dad1f4d9 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -3785,7 +3785,6 @@ mdb_env_write_meta(MDB_txn *txn) /* Write to the SYNC fd */ mfd = (flags & (MDB_NOSYNC|MDB_NOMETASYNC)) ? env->me_fd : env->me_mfd; -retry_write: #ifdef _WIN32 { memset(&ov, 0, sizeof(ov)); @@ -3794,6 +3793,7 @@ retry_write: rc = -1; } #else +retry_write: rc = pwrite(mfd, ptr, len, off); #endif if (rc != len) {