Wrap up of minor issues found CodeQL static analysis:
Unused variable assignments in dsquery/querymanager.go
Loose regex definitions in cmd/grnc-bind/binder/env.go
The variable assignments are copy and paste artifacts and are tested code. Safe to remove.
The regexes are actually being used for parsing a go.mod file for the location of the local Granitic installation (rather than domain names as the tool assumes).
Wrap up of minor issues found CodeQL static analysis:
dsquery/querymanager.go
The variable assignments are copy and paste artifacts and are tested code. Safe to remove.
The regexes are actually being used for parsing a go.mod file for the location of the local Granitic installation (rather than domain names as the tool assumes).