Skip to content

Commit 7cc4ac8

Browse files
authored
chore(msg_gateway): remove redundant codes (#3741)
1 parent b3a7342 commit 7cc4ac8

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

pkg/rpccache/online.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,6 @@ func (o *defaultOnlineCache) GetUserOnlinePlatform(ctx context.Context, userID s
214214
if err != nil {
215215
return nil, err
216216
}
217-
tmp := make([]int32, len(platformIDs))
218-
copy(tmp, platformIDs)
219217
return platformIDs, nil
220218
}
221219

0 commit comments

Comments
 (0)