mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 00:48:22 -04:00
Clang: reduce warnings
This commit is contained in:
parent
2148538fac
commit
12a0edfa50
1 changed files with 3 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
void
|
||||
operator>>( const YAML::Node& node, QStringList& v )
|
||||
{
|
||||
for ( int i = 0; i < node.size(); ++i )
|
||||
for ( size_t i = 0; i < node.size(); ++i )
|
||||
{
|
||||
v.append( QString::fromStdString( node[ i ].as< std::string >() ) );
|
||||
}
|
||||
|
@ -51,9 +51,11 @@ yamlToVariant( const YAML::Node& node )
|
|||
return yamlMapToVariant( node );
|
||||
|
||||
case YAML::NodeType::Null:
|
||||
case YAML::NodeType::Undefined:
|
||||
return QVariant();
|
||||
}
|
||||
|
||||
// NOTREACHED
|
||||
return QVariant();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue