mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
Fix lint warning about ignored err assignment
Signed-off-by: Brian Meek <brian@hntlabs.com>
This commit is contained in:
parent
b19342ecee
commit
c0d986fdb1
|
|
@ -106,6 +106,9 @@ func (s *accountDataStatements) SelectAccountDataInRange(
|
||||||
filter.Types, filter.NotTypes,
|
filter.Types, filter.NotTypes,
|
||||||
[]string{}, nil, filter.Limit, FilterOrderAsc)
|
[]string{}, nil, filter.Limit, FilterOrderAsc)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
rows, err := stmt.QueryContext(ctx, params...)
|
rows, err := stmt.QueryContext(ctx, params...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue