]> git.sur5r.net Git - openldap/commitdiff
ITS#8192 cleanup unused label on WIN32
authorHoward Chu <hyc@openldap.org>
Wed, 29 Jul 2015 19:03:43 +0000 (20:03 +0100)
committerHoward Chu <hyc@openldap.org>
Wed, 29 Jul 2015 19:03:43 +0000 (20:03 +0100)
libraries/liblmdb/mdb.c

index 6ccce2d3a2b2cba65d5ca0bf5ad2433160361dd2..12dad1f4d983967ec94c127038d5df90900eab8c 100644 (file)
@@ -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) {