diff --git a/src/LabelDialog.cpp b/src/LabelDialog.cpp index 56f569cca..c733c2612 100644 --- a/src/LabelDialog.cpp +++ b/src/LabelDialog.cpp @@ -345,9 +345,6 @@ bool LabelDialog::TransferDataFromWindow() bool LabelDialog::Validate() { - int cnt = mData.GetCount(); - int i; - if (mGrid->IsCellEditControlShown()) { mGrid->HideCellEditControl(); mGrid->SaveEditControlValue();