<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div>Hello,</div><div><br></div><div>I would like to note a small mistake, which I assume that it is, that I noticed while building Kate 18.03.70 from git://anongit.kde.org/kate:<br></div><div><div><br></div><div><br></div><blockquote><div>[ 74%] <font color="#5b8828">Building CXX object addons/katesql/CMakeFiles/katesqlplugin.dir/schemawidget.cpp.o</font></div>/root/Projects/<b>kde/kate/addons/katesql/schemawidget.cpp</b>: In member function ‘<b>void SchemaWidget::generateStatement(QSqlDriver::StatementType)</b>’:<br>/root/Projects/<b>kde/kate/addons/katesql/schemawidget.cpp:344:71</b>: <font color="#440062">warning</font>: enum constant in boolean context [<font color="#440062">-Wint-in-bool-context</font>]<br> if (statementType == QSqlDriver::UpdateStatement || QSqlDriver::<font color="#440062">InsertStatement</font>)<br><div> <font color="#440062">^~~~~~~~~~~~~~~</font></div></blockquote><div><br></div><div>I believe it should be written like this:</div><div> if (statementType == QSqlDriver::UpdateStatement || <b>statementType == </b>QSqlDriver::InsertStatement)<br></div><div><br></div><div><br></div><div>Thank you for taking the time to read this!</div><div><br></div><div>Best regards,</div><div>Alexandru Thirtheu<br></div></div></div></body></html>