mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
remove unused code path
This commit is contained in:
parent
b398df9e3b
commit
726b00856e
1 changed files with 0 additions and 3 deletions
|
|
@ -380,9 +380,6 @@ func hashAllSourceFiles() (map[string]common.Hash, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func hashSourceFiles(files []string) (map[string]common.Hash, error) {
|
func hashSourceFiles(files []string) (map[string]common.Hash, error) {
|
||||||
if len(files) == 0 {
|
|
||||||
return hashAllSourceFiles()
|
|
||||||
}
|
|
||||||
res := make(map[string]common.Hash)
|
res := make(map[string]common.Hash)
|
||||||
for _, filePath := range files {
|
for _, filePath := range files {
|
||||||
f, err := os.OpenFile(filePath, os.O_RDONLY, 0666)
|
f, err := os.OpenFile(filePath, os.O_RDONLY, 0666)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue