[Ada] Avoid false positive reported by CodePeer
authorJavier Miranda <miranda@adacore.com>
Sat, 6 Jun 2020 15:26:18 +0000 (11:26 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 16 Jul 2020 09:18:00 +0000 (05:18 -0400)
commitaab8cf8ba42686aa9dee8a2bd61281c921784893
tree8b7485bedd8db7efa0b3b8af9f4a70a410f1e66d
parentc7641c228af7c53b5f2ab5ef047f1e36f6a6f3c5
[Ada] Avoid false positive reported by CodePeer

gcc/ada/

* exp_attr.adb (Expand_Access_To_Protected_Op): Initialize
variable Sub to Empty to avoid false positive reported by
Codepeer.
gcc/ada/exp_attr.adb