Fix a warning picked by static code analysis (assignment of a temporary variable before destruction)