mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fix -Wunused-variable warnings
This commit is contained in:
@@ -480,7 +480,6 @@ void Autocomplete::submitValue(const QString &value) {
|
||||
if (value.startsWith(prefix)) {
|
||||
const auto line = value.indexOf('\n');
|
||||
const auto text = (line > 0) ? value.mid(line + 1) : QString();
|
||||
const auto commented = !text.isEmpty();
|
||||
const auto contact = value.mid(
|
||||
prefix.size(),
|
||||
(line > 0) ? (line - prefix.size()) : -1);
|
||||
|
Reference in New Issue
Block a user