mirror of https://bitbucket.org/ausocean/av.git
fixing index out of range error
This commit is contained in:
parent
7201f52ac1
commit
ec87cb7ca1
|
@ -118,7 +118,7 @@ func main() {
|
|||
}
|
||||
|
||||
// Create the configFlags based on the flagNames array
|
||||
var configFlags [noOfConfigconfigFlags](*string)
|
||||
configFlags := makie(*string,noOfConfigconfigFlags)
|
||||
for i := 0; i < 20; i++ {
|
||||
configFlags[i] = flag.String(flagNames[i][0], "", flagNames[i][1])
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue