Skip to content

Commit 7da11b9

Browse files
committed
remove dead code
1 parent 03f1180 commit 7da11b9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

package/src/synoedit/file_utils.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ package main
2121
import (
2222
"io/ioutil"
2323
"os"
24-
"syscall"
2524
)
2625

2726
// FileExists returns true if the file path exists.
@@ -59,7 +58,7 @@ func SaveFile(file string, data string) {
5958
}
6059

6160
// Get stat structure (for uid and gid)
62-
stat := fInfo.Sys().(*syscall.Stat_t)
61+
// stat := fInfo.Sys().(*syscall.Stat_t)
6362

6463
// Create file
6564
f, err := os.Create(file + ".tmp")

0 commit comments

Comments
 (0)