Merge "Add volatile to temporary variable."