aboutsummaryrefslogtreecommitdiff
path: root/bolt_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'bolt_windows.go')
-rw-r--r--bolt_windows.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/bolt_windows.go b/bolt_windows.go
index f048365..91c4968 100644
--- a/bolt_windows.go
+++ b/bolt_windows.go
@@ -40,8 +40,6 @@ func unlockFileEx(h syscall.Handle, reserved, locklow, lockhigh uint32, ol *sysc
return nil
}
-var odirect int
-
// fdatasync flushes written data to a file descriptor.
func fdatasync(db *DB) error {
return db.file.Sync()