Author: glebius
Date: Mon Nov 24 07:57:20 2014
New Revision: 274948
URL: https://svnweb.freebsd.org/changeset/base/274948

Log:
  We already have "int i" in this scope.
  
  Submitted by: alc

Modified:
  head/sys/vm/vnode_pager.c

Modified: head/sys/vm/vnode_pager.c
==============================================================================
--- head/sys/vm/vnode_pager.c   Mon Nov 24 07:57:18 2014        (r274947)
+++ head/sys/vm/vnode_pager.c   Mon Nov 24 07:57:20 2014        (r274948)
@@ -994,7 +994,7 @@ vnode_pager_generic_getpages(struct vnod
                bstrategy(bp);
                bwait(bp, PVM, "vnread");
                error = vnode_pager_generic_getpages_done(bp);
-               for (int i = 0; i < bp->b_npages; i++)
+               for (i = 0; i < bp->b_npages; i++)
                        bp->b_pages[i] = NULL;
                bp->b_vp = NULL;
                pbrelbo(bp);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to