Fixed compilation warning with GCC 4.2. (Fix for bug #17584 and bug #17585, patch by Etienne Simon.)

This commit is contained in:
Guillaume Melquiond 2011-02-12 09:23:08 +00:00
parent 23de8eb696
commit 4a40ff05da
2 changed files with 2 additions and 2 deletions

View file

@ -226,7 +226,7 @@ public:
static T variant_to_value(const variant &var)
{
T value;
T value = T();
variant_to_value(var,value);
return value;
}

View file

@ -76,7 +76,7 @@ namespace ana
/** Copy constructor. */
_generic_client_predicate(const _generic_client_predicate<predicate>& other )
: pred(other.pred)
: client_predicate(), pred(other.pred)
{
}
private: