fixed undefined behaviour

This commit is contained in:
John Preston 2014-12-05 18:54:45 +03:00
parent f143cec54e
commit 917b1b86ea
1 changed files with 1 additions and 1 deletions

View File

@ -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);