Cleaned up a couple cppcheck warnings in Qt GUI.
This commit is contained in:
parent
fbf8fe6eb5
commit
accc476623
|
@ -3105,6 +3105,8 @@ QAsmView::QAsmView(QWidget *parent)
|
||||||
ctxMenuAddr = -1;
|
ctxMenuAddr = -1;
|
||||||
|
|
||||||
mouseLeftBtnDown = false;
|
mouseLeftBtnDown = false;
|
||||||
|
txtHlgtAnchorLine = -1;
|
||||||
|
txtHlgtAnchorChar = -1;
|
||||||
txtHlgtStartChar = -1;
|
txtHlgtStartChar = -1;
|
||||||
txtHlgtStartLine = -1;
|
txtHlgtStartLine = -1;
|
||||||
txtHlgtEndChar = -1;
|
txtHlgtEndChar = -1;
|
||||||
|
|
|
@ -38,6 +38,11 @@ class msgLogBuf_t
|
||||||
maxLines = MSG_LOG_MAX_LINES;
|
maxLines = MSG_LOG_MAX_LINES;
|
||||||
totalLines = 0;
|
totalLines = 0;
|
||||||
head = tail = 0;
|
head = tail = 0;
|
||||||
|
|
||||||
|
for (int i=0; i<MSG_LOG_MAX_LINES; i++)
|
||||||
|
{
|
||||||
|
fpOfsList[i] = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
~msgLogBuf_t(void)
|
~msgLogBuf_t(void)
|
||||||
|
|
|
@ -1112,6 +1112,8 @@ QTraceLogView::QTraceLogView(QWidget *parent)
|
||||||
|
|
||||||
wheelPixelCounter = 0;
|
wheelPixelCounter = 0;
|
||||||
mouseLeftBtnDown = false;
|
mouseLeftBtnDown = false;
|
||||||
|
txtHlgtAnchorLine = -1;
|
||||||
|
txtHlgtAnchorChar = -1;
|
||||||
txtHlgtStartChar = -1;
|
txtHlgtStartChar = -1;
|
||||||
txtHlgtStartLine = -1;
|
txtHlgtStartLine = -1;
|
||||||
txtHlgtEndChar = -1;
|
txtHlgtEndChar = -1;
|
||||||
|
|
Loading…
Reference in New Issue