mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
fixed undefined behaviour
This commit is contained in:
parent
f143cec54e
commit
917b1b86ea
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ namespace App {
|
|||
}
|
||||
|
||||
UserData *feedUsers(const MTPVector<MTPUser> &users) {
|
||||
UserData *data;
|
||||
UserData *data = 0;
|
||||
const QVector<MTPUser> &v(users.c_vector().v);
|
||||
for (QVector<MTPUser>::const_iterator i = v.cbegin(), e = v.cend(); i != e; ++i) {
|
||||
const MTPuser &user(*i);
|
||||
|
|
Loading…
Add table
Reference in a new issue