diff options
author | Jakob Unterwurzacher | 2015-11-01 12:32:10 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-11-01 12:32:10 +0100 |
commit | e31d319c399e619e4dec2f71782f1412a46f2d36 (patch) | |
tree | 6146840bd78a4a5053e8ee36aed9ad16f81221b5 | |
parent | 0a4aa4b42780ac96420c4068c90003f139c53f85 (diff) |
Remove code detected by "deadcode"
go get github.com/remyoudompheng/go-misc/deadcode
-rw-r--r-- | main.go | 5 | ||||
-rw-r--r-- | pathfs_frontend/file.go | 1 |
2 files changed, 0 insertions, 6 deletions
@@ -18,16 +18,11 @@ import ( ) const ( - USE_OPENSSL = true - PATHFS_DEBUG = false - PROGRAM_NAME = "gocryptfs" // Exit codes ERREXIT_USAGE = 1 - ERREXIT_NEWFS = 2 ERREXIT_MOUNT = 3 - ERREXIT_SERVE = 4 ERREXIT_CIPHERDIR = 6 ERREXIT_INIT = 7 ERREXIT_LOADCONF = 8 diff --git a/pathfs_frontend/file.go b/pathfs_frontend/file.go index e8d7003..bbc211d 100644 --- a/pathfs_frontend/file.go +++ b/pathfs_frontend/file.go @@ -439,7 +439,6 @@ func (f *file) Allocate(off uint64, sz uint64, mode uint32) fuse.Status { return fuse.ENOSYS } -const _UTIME_NOW = ((1 << 30) - 1) const _UTIME_OMIT = ((1 << 30) - 2) func (f *file) Utimens(a *time.Time, m *time.Time) fuse.Status { |