[libcalamares] Reduce warnings (extra ;, empty statement ..)
This commit is contained in:
parent
b4c0ebe8ab
commit
1b62b2f66c
@ -171,7 +171,6 @@ TZRegion::fromFile( const char* fileName )
|
||||
}
|
||||
|
||||
QString region = timezoneParts.first().trimmed();
|
||||
;
|
||||
if ( region.isEmpty() )
|
||||
{
|
||||
continue;
|
||||
@ -243,7 +242,7 @@ CStringListModel::CStringListModel( CStringPairList l )
|
||||
CStringListModel::~CStringListModel() {}
|
||||
|
||||
int
|
||||
CStringListModel::rowCount( const QModelIndex& parent ) const
|
||||
CStringListModel::rowCount( const QModelIndex& ) const
|
||||
{
|
||||
return m_list.count();
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ class CStringPair
|
||||
{
|
||||
public:
|
||||
/// @brief An empty pair
|
||||
CStringPair() {};
|
||||
CStringPair() {}
|
||||
/// @brief Given an identifier, create the pair
|
||||
explicit CStringPair( const char* s1 );
|
||||
CStringPair( CStringPair&& t );
|
||||
@ -88,7 +88,7 @@ class TZRegion : public CStringPair
|
||||
{
|
||||
public:
|
||||
using CStringPair::CStringPair;
|
||||
virtual ~TZRegion();
|
||||
virtual ~TZRegion() override;
|
||||
QString tr() const override;
|
||||
|
||||
QString region() const { return key(); }
|
||||
|
Loading…
Reference in New Issue
Block a user