aboutsummaryrefslogtreecommitdiff
path: root/boltsync_unix.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2015-11-06 13:20:48 -0700
committerBen Johnson <benbjohnson@yahoo.com>2015-11-06 13:20:48 -0700
commit81db89446cb805bc352f803151f47fea849241e2 (patch)
treeaede0bbe67e2faf8c52786b2c62c8cba17764343 /boltsync_unix.go
parentMerge pull request #451 from Charlesworth/master (diff)
parentupdate WriteTo() docs (diff)
downloaddedo-81db89446cb805bc352f803151f47fea849241e2.tar.gz
dedo-81db89446cb805bc352f803151f47fea849241e2.tar.xz
Merge branch 'xiang90-tx_write'
Diffstat (limited to 'boltsync_unix.go')
-rw-r--r--boltsync_unix.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/boltsync_unix.go b/boltsync_unix.go
index 8db8977..f504425 100644
--- a/boltsync_unix.go
+++ b/boltsync_unix.go
@@ -2,8 +2,6 @@
package bolt
-var odirect int
-
// fdatasync flushes written data to a file descriptor.
func fdatasync(db *DB) error {
return db.file.Sync()