groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 01/04: src/libs/libgroff/getopt.c: Mark unused params.


From: G. Branden Robinson
Subject: [groff] 01/04: src/libs/libgroff/getopt.c: Mark unused params.
Date: Sat, 11 Nov 2017 17:07:29 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 382ab4af269a1dea422c8f9bb5c67a065d026deb
Author: G. Branden Robinson <address@hidden>
Date:   Sat Nov 11 11:56:02 2017 -0500

    src/libs/libgroff/getopt.c: Mark unused params.
    
    Signed-off-by: G. Branden Robinson <address@hidden>
---
 src/libs/libgroff/getopt.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/libs/libgroff/getopt.c b/src/libs/libgroff/getopt.c
index d441873..8a69b92 100644
--- a/src/libs/libgroff/getopt.c
+++ b/src/libs/libgroff/getopt.c
@@ -248,8 +248,10 @@ exchange (char **argv, struct _getopt_data *d)
 /* Initialize the internal data when the first call is made.  */
 
 static const char *
-_getopt_initialize (int argc, char **argv, const char *optstring,
-                   int posixly_correct, struct _getopt_data *d)
+_getopt_initialize (__attribute__((__unused__)) int argc,
+                   __attribute__((__unused__)) char **argv,
+                   const char *optstring, int posixly_correct,
+                   struct _getopt_data *d)
 {
   /* Start processing options with ARGV-element 1 (since ARGV-element 0
      is the program name); the sequence of previously skipped



reply via email to

[Prev in Thread] Current Thread [Next in Thread]