diff options
| author | 2022-06-23 13:45:24 -0400 | |
|---|---|---|
| committer | 2022-06-23 14:14:05 -0400 | |
| commit | 2bc1cd96ef0ae151d78e8e607ff5337eeee76ff0 (patch) | |
| tree | ca2957c8a9708fbb1b5903e932d33362ea95b863 /android/bazel_handler.go | |
| parent | acd5a0c08057920c6da4abcf51f62835d127f4d6 (diff) | |
cosmetic: go warnings
Test: N/A
Bug: N/A
Change-Id: I9bad2cecb350e9539344ad7d81d83c93c31e54cd
Diffstat (limited to 'android/bazel_handler.go')
| -rw-r--r-- | android/bazel_handler.go | 4 |
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] = |