public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6370] [Ada] Fix uses of pragma Unreferenced in MinGW runtime unit
@ 2022-01-07 16:29 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2022-01-07 16:29 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:657fc14ca71385385f8fcb77883c4e9d4eedafb0

commit r12-6370-g657fc14ca71385385f8fcb77883c4e9d4eedafb0
Author: Ghjuvan Lacambre <lacambre@adacore.com>
Date:   Wed Dec 22 10:24:29 2021 +0100

    [Ada] Fix uses of pragma Unreferenced in MinGW runtime unit
    
    gcc/ada/
    
            * libgnarl/s-taprop__mingw.adb (Timed_Sleep): Remove "pragma
            Unreferenced" for Result.
            (Timed_Delay): Likewise.

Diff:
---
 gcc/ada/libgnarl/s-taprop__mingw.adb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gcc/ada/libgnarl/s-taprop__mingw.adb b/gcc/ada/libgnarl/s-taprop__mingw.adb
index 33d5977d1c4..24ed69fb25e 100644
--- a/gcc/ada/libgnarl/s-taprop__mingw.adb
+++ b/gcc/ada/libgnarl/s-taprop__mingw.adb
@@ -559,7 +559,6 @@ package body System.Task_Primitives.Operations is
       Abs_Time   : Duration;
 
       Result : Integer;
-      pragma Unreferenced (Result);
 
       Local_Timedout : Boolean;
 
@@ -615,7 +614,6 @@ package body System.Task_Primitives.Operations is
 
       Timedout : Boolean;
       Result   : Integer;
-      pragma Unreferenced (Timedout, Result);
 
    begin
       Write_Lock (Self_ID);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-07 16:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-07 16:29 [gcc r12-6370] [Ada] Fix uses of pragma Unreferenced in MinGW runtime unit Pierre-Marie de Rodat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).