TechDraw: [skip ci] fix several gcc/clang warnings

-Wunused-private-field
-Wmaybe-uninitialized
-Wunused-parameter
This commit is contained in:
wmayer
2020-09-11 15:10:58 +02:00
parent f3c697abe7
commit 44e5713a03
3 changed files with 3 additions and 2 deletions

View File

@@ -172,7 +172,7 @@ std::string DrawViewSpreadsheet::getSheetImage(void)
std::string rowPart;
boost::regex re{"([A-Z]*)([0-9]*)"};
boost::smatch what;
int iRowStart, iRowEnd;
int iRowStart = 0, iRowEnd = 0;
std::string sColStart, sColEnd;
if (boost::regex_search(scellstart, what, re)) {
if (what.size() < 3) {