Fix Cppcheck warning
This commit is contained in:
parent
0cb1c4f221
commit
c20dbad424
|
@ -26,14 +26,6 @@ QErrorPathItem::QErrorPathItem(const ErrorLogger::ErrorMessage::FileLocation &lo
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
QErrorPathItem::QErrorPathItem(const QErrorPathItem &e)
|
|
||||||
: file(e.file)
|
|
||||||
, line(e.line)
|
|
||||||
, col(e.col)
|
|
||||||
, info(e.info)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
ErrorItem::ErrorItem()
|
ErrorItem::ErrorItem()
|
||||||
: severity(Severity::none)
|
: severity(Severity::none)
|
||||||
, inconclusive(false)
|
, inconclusive(false)
|
||||||
|
|
|
@ -53,7 +53,6 @@ class QErrorPathItem {
|
||||||
public:
|
public:
|
||||||
QErrorPathItem() : line(0), col(-1) {}
|
QErrorPathItem() : line(0), col(-1) {}
|
||||||
explicit QErrorPathItem(const ErrorLogger::ErrorMessage::FileLocation &loc);
|
explicit QErrorPathItem(const ErrorLogger::ErrorMessage::FileLocation &loc);
|
||||||
explicit QErrorPathItem(const QErrorPathItem &e);
|
|
||||||
QString file;
|
QString file;
|
||||||
unsigned int line;
|
unsigned int line;
|
||||||
int col;
|
int col;
|
||||||
|
|
Loading…
Reference in New Issue