about summary refs log tree commit diff
path: root/src/http
diff options
context:
space:
mode:
Diffstat (limited to 'src/http')
-rw-r--r--src/http/http.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/http.go b/src/http/http.go
index cf309b8..db7ff91 100644
--- a/src/http/http.go
+++ b/src/http/http.go
@@ -177,8 +177,8 @@ func pathHandler(w http.ResponseWriter, r *http.Request) {
 
 	// define the items (files and dirs)
 	var items structs.Items
-	var dirCount int = 0
-	var fileCount int = 0
+	var dirCount int
+	var fileCount int
 	for _, f := range files {
 
 		// if the current file is not valid, continue to the next file skipping