From e31d319c399e619e4dec2f71782f1412a46f2d36 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 1 Nov 2015 12:32:10 +0100 Subject: Remove code detected by "deadcode" go get github.com/remyoudompheng/go-misc/deadcode --- main.go | 5 ----- pathfs_frontend/file.go | 1 - 2 files changed, 6 deletions(-) diff --git a/main.go b/main.go index 5a9953e..07d8e64 100644 --- a/main.go +++ b/main.go @@ -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 { -- cgit v1.2.3