summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--android/bazel_handler.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/bazel_handler.go b/android/bazel_handler.go
index 8cd236311..27255d194 100644
--- a/android/bazel_handler.go
+++ b/android/bazel_handler.go
@@ -529,7 +529,7 @@ config_node(name = "%s",
configNodesSection := ""
labelsByConfig := map[string][]string{}
- for val, _ := range context.requests {
+ for val := range context.requests {
labelString := fmt.Sprintf("\"@%s\"", val.label)
configString := getConfigString(val)
labelsByConfig[configString] = append(labelsByConfig[configString], labelString)
@@ -567,7 +567,7 @@ func indent(original string) string {
// request type.
func (context *bazelContext) cqueryStarlarkFileContents() []byte {
requestTypeToCqueryIdEntries := map[cqueryRequest][]string{}
- for val, _ := range context.requests {
+ for val := range context.requests {
cqueryId := getCqueryId(val)
mapEntryString := fmt.Sprintf("%q : True", cqueryId)
requestTypeToCqueryIdEntries[val.requestType] =