Remove code detected by "deadcode"

go get github.com/remyoudompheng/go-misc/deadcode
This commit is contained in:
Jakob Unterwurzacher 2015-11-01 12:32:10 +01:00
parent 0a4aa4b427
commit e31d319c39
2 changed files with 0 additions and 6 deletions

View File

@ -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

View File

@ -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 {