Author: tsoome
Date: Sat Apr  7 14:42:47 2018
New Revision: 332173
URL: https://svnweb.freebsd.org/changeset/base/332173

Log:
  libsa: name is not used in dirmatch()
  
  Seems like variable 'name' is leftover.

Modified:
  head/stand/libsa/cd9660read.c

Modified: head/stand/libsa/cd9660read.c
==============================================================================
--- head/stand/libsa/cd9660read.c       Sat Apr  7 14:41:44 2018        
(r332172)
+++ head/stand/libsa/cd9660read.c       Sat Apr  7 14:42:47 2018        
(r332173)
@@ -174,7 +174,7 @@ dirmatch(const char *path, struct iso_directory_record
     int lenskip)
 {
        size_t len;
-       const char *cp = NULL, *name = NULL;
+       const char *cp = NULL;
        int i, icase;
 
        if (use_rrip)
@@ -187,7 +187,6 @@ dirmatch(const char *path, struct iso_directory_record
                icase = 1;
        } else
                icase = 0;
-       name = cp;
        for (i = len; --i >= 0; path++, cp++) {
                if (!*path || *path == '/')
                        break;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to