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