fix -Wextra in FreeCADApp

This commit is contained in:
wmayer
2016-09-21 16:05:36 +02:00
parent f408f3180b
commit 71df967fdf
14 changed files with 115 additions and 32 deletions

View File

@@ -1619,7 +1619,7 @@ int ConstantExpression::priority() const
TYPESYSTEM_SOURCE_ABSTRACT(App::BooleanExpression, App::NumberExpression);
BooleanExpression::BooleanExpression(const DocumentObject *_owner, bool _value)
: NumberExpression(owner, _value ? 1.0 : 0.0)
: NumberExpression(_owner, _value ? 1.0 : 0.0)
{
}
@@ -1699,6 +1699,7 @@ namespace ExpressionParser {
void ExpressionParser_yyerror(const char *errorinfo)
{
(void)errorinfo;
}
/* helper function for tuning number strings with groups in a locale agnostic way... */