Remove code detected by "deadcode"
go get github.com/remyoudompheng/go-misc/deadcode
This commit is contained in:
parent
0a4aa4b427
commit
e31d319c39
5
main.go
5
main.go
|
@ -18,16 +18,11 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
USE_OPENSSL = true
|
|
||||||
PATHFS_DEBUG = false
|
|
||||||
|
|
||||||
PROGRAM_NAME = "gocryptfs"
|
PROGRAM_NAME = "gocryptfs"
|
||||||
|
|
||||||
// Exit codes
|
// Exit codes
|
||||||
ERREXIT_USAGE = 1
|
ERREXIT_USAGE = 1
|
||||||
ERREXIT_NEWFS = 2
|
|
||||||
ERREXIT_MOUNT = 3
|
ERREXIT_MOUNT = 3
|
||||||
ERREXIT_SERVE = 4
|
|
||||||
ERREXIT_CIPHERDIR = 6
|
ERREXIT_CIPHERDIR = 6
|
||||||
ERREXIT_INIT = 7
|
ERREXIT_INIT = 7
|
||||||
ERREXIT_LOADCONF = 8
|
ERREXIT_LOADCONF = 8
|
||||||
|
|
|
@ -439,7 +439,6 @@ func (f *file) Allocate(off uint64, sz uint64, mode uint32) fuse.Status {
|
||||||
return fuse.ENOSYS
|
return fuse.ENOSYS
|
||||||
}
|
}
|
||||||
|
|
||||||
const _UTIME_NOW = ((1 << 30) - 1)
|
|
||||||
const _UTIME_OMIT = ((1 << 30) - 2)
|
const _UTIME_OMIT = ((1 << 30) - 2)
|
||||||
|
|
||||||
func (f *file) Utimens(a *time.Time, m *time.Time) fuse.Status {
|
func (f *file) Utimens(a *time.Time, m *time.Time) fuse.Status {
|
||||||
|
|
Loading…
Reference in New Issue