VCS: Remove unused local variable

Why didn't this give a warning?

Change-Id: I866aa5ddf3107866bcf5da395f1312e50e75561c
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Andre Hartmann
2021-09-09 15:36:29 +02:00
committed by André Hartmann
parent 0057c73080
commit c572ca0e87

View File

@@ -541,7 +541,6 @@ void SubmitEditorWidget::verifyDescription()
enum { MinSubjectLength = 20, MaxSubjectLength = 72, WarningSubjectLength = 55 };
QStringList hints;
QStringList toolTips;
if (subjectLength < MinSubjectLength)
hints.append(warning + tr("Warning: The commit subject is very short."));