Remove temporary variable if possible.