commit:     f6fe943d0d16baf2cbdb9df9b921e5fdb5358cb8
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 24 18:37:55 2026 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Feb 24 18:37:55 2026 +0000
URL:        https://gitweb.gentoo.org/proj/install-xattr.git/commit/?id=f6fe943d

Drop unneeded option_index variable

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 install-xattr.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/install-xattr.c b/install-xattr.c
index 9361865..c39c808 100644
--- a/install-xattr.c
+++ b/install-xattr.c
@@ -250,8 +250,7 @@ main(int argc, char* argv[])
        char *target = NULL;
 
        while (1) {
-               int option_index;
-               int c = getopt_long(argc, argv, "dt:g:m:o:S:Zb", long_options, 
&option_index);
+               int c = getopt_long(argc, argv, "dt:g:m:o:S:Zb", long_options, 
NULL);
 
                if (c == -1)
                        break;

Reply via email to