Author: eadler (ports committer)
Date: Tue Jan 10 02:59:50 2012
New Revision: 229918
URL: http://svn.freebsd.org/changeset/base/229918

Log:
  Fix warning when compiling with gcc46:
        error: variable 'blksfree' set but not used
  
  Reviewed by:  pjd
  Approved by:  dim
  MFC after:    3 days

Modified:
  head/sbin/fsck_ffs/gjournal.c

Modified: head/sbin/fsck_ffs/gjournal.c
==============================================================================
--- head/sbin/fsck_ffs/gjournal.c       Tue Jan 10 02:59:43 2012        
(r229917)
+++ head/sbin/fsck_ffs/gjournal.c       Tue Jan 10 02:59:50 2012        
(r229918)
@@ -399,7 +399,7 @@ gjournal_check(const char *filesys)
        void *p;
        struct cgchain *cgc;
        struct cg *cgp;
-       uint8_t *inosused, *blksfree;
+       uint8_t *inosused;
        ino_t cino, ino;
        int cg, mode;
 
@@ -438,7 +438,6 @@ gjournal_check(const char *filesys)
                /* We don't want it to be freed in the meantime. */
                busycg(cgc);
                inosused = cg_inosused(cgp);
-               blksfree = cg_blksfree(cgp);
                /*
                 * Now go through the list of all inodes in this cylinder group
                 * to find unreferenced ones.
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to