../win/Qt/qt_yndlg.cpp: In member function ‘char nethack_qt_::NetHackQtYnDialog::Exec()’:
../win/Qt/qt_yndlg.cpp:80:9: warning: variable ‘ch_per_line’ set but not used [-Wunused-but-set-variable]
80 | int ch_per_line=6;
| ^~~~~~~~~~~
char NetHackQtYnDialog::Exec()
{
QString ch(QString::fromLatin1(choices));
- int ch_per_line=6;
+// int ch_per_line=6;
QString qlabel;
QString enable;
if ( qt_compact_mode && !choices ) {
ch.append(d[5]);
ch.append(d[8]);
ch.append(d[9]);
- ch_per_line = 3;
+// ch_per_line = 3;
def = ' ';
} else {
// Hmm... they'll have to use a virtual keyboard