https://gcc.gnu.org/g:311dfcad0ed8164e944921f8cdf61a3e059cb89b

commit r17-4473-g311dfcad0ed8164e944921f8cdf61a3e059cb89b
Author: Robert Dubner <[email protected]>
Date:   Sat Sep 19 18:07:29 2026 -0400

    cobol: Eliminate -Werror failure.
    
    A -Werror failure was caused by an unused static function.  This patch
    comments it out.
    
    gcc/cobol/ChangeLog:
    
            * parse.y: Comment out unused passby_str() function.

Diff:
---
 gcc/cobol/parse.y | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gcc/cobol/parse.y b/gcc/cobol/parse.y
index 3bbf60e17e75..575a27276009 100644
--- a/gcc/cobol/parse.y
+++ b/gcc/cobol/parse.y
@@ -13066,6 +13066,7 @@ bad_arg( const char name[],
   return ok;
 }  
 
+#if 0
 static const char *
 passby_str(int mask)
 {
@@ -13083,6 +13084,8 @@ passby_str(int mask)
 
   return "UNKNOWN PASSING METHOD";
 }
+#endif
+
 
 // Verify provided actual parameters against formals.
 static void

Reply via email to