From: John David Anglin Date: Thu, 14 Jul 2011 23:22:17 +0000 (+0000) Subject: re PR ada/46350 (s-taprop.adb:891:40: warning: redundant conversion, expression is... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3aca5223163608fdc8feb203c64cc793de83de7;p=gcc.git re PR ada/46350 (s-taprop.adb:891:40: warning: redundant conversion, expression is of type "Interrupt_ID") PR ada/46350 * s-taprop-hpux-dce.adb (Abort_Task): Remove unnecessary cast. From-SVN: r176296 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index fc1175b54d8..c2011249035 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2011-07-14 John David Anglin + + PR ada/46350 + * s-taprop-hpux-dce.adb (Abort_Task): Remove unnecessary cast. + 2011-07-14 Florian Weimer PR ada/48711 diff --git a/gcc/ada/s-taprop-hpux-dce.adb b/gcc/ada/s-taprop-hpux-dce.adb index ebc2f9ddc0c..814b48b1a5c 100644 --- a/gcc/ada/s-taprop-hpux-dce.adb +++ b/gcc/ada/s-taprop-hpux-dce.adb @@ -888,8 +888,7 @@ package body System.Task_Primitives.Operations is if T.Common.State = Interrupt_Server_Blocked_On_Event_Flag then System.Interrupt_Management.Operations.Interrupt_Self_Process - (System.Interrupt_Management.Interrupt_ID - (PIO.Get_Interrupt_ID (T))); + (PIO.Get_Interrupt_ID (T)); end if; end Abort_Task;