]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Modula2 meets clang [PR108135]
authorGaius Mulley <gaiusmod2@gmail.com>
Mon, 6 Feb 2023 21:14:32 +0000 (21:14 +0000)
committerGaius Mulley <gaiusmod2@gmail.com>
Mon, 6 Feb 2023 21:14:32 +0000 (21:14 +0000)
Remove unused function (and build warnings).

gcc/m2/ChangeLog:

* gm2-compiler/M2Search.mod (DSdbEnter): Comment out.
(DSdbExit): Comment out.

PR modula2/108135

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
gcc/m2/gm2-compiler/M2Search.mod

index cc61ebfb3539e8693b4aab11cf2174b60133d16f..9c78c800f6f6c7035e4544447d8beb6f7c15239a 100644 (file)
@@ -81,16 +81,18 @@ END doDSdbExit ;
                doDSsbEnter when debugging garbage collection at runtime.
 *)
 
+(*
 PROCEDURE DSdbEnter ;
 BEGIN
 END DSdbEnter ;
-
+*)
 
 (*
    DSdbExit - dummy nop exit code which the preprocessor replaces by
               doDSsbExit when debugging garbage collection at runtime.
 *)
 
+(*
 PROCEDURE DSdbExit (s: String) ;
 BEGIN
    IF GarbageDebugging
@@ -98,6 +100,7 @@ BEGIN
       Assert (s # NIL)
    END
 END DSdbExit ;
+*)
 
 
 (*