Add volatile to temporary variable.
am: d9cda90ad4

Change-Id: I1ce0acfc808998a9cef29b896877504883273cc9