google/cloud-print-connector

Variable j is incorrectly written as variable i

Opened this issue · 0 comments

Line 44,46,48,52:

return sv[i].Int() < sv[i].Int()
case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
return sv[i].Uint() < sv[i].Uint()
case reflect.Float32, reflect.Float64:
return sv[i].Float() < sv[i].Float()
case reflect.String:
return sv[i].String() < sv[j].String()
case reflect.Ptr:
return sv[i].Pointer() < sv[i].Pointer()