Author: araujo (ports committer)
Date: Thu Jun  4 02:50:13 2015
New Revision: 283976
URL: https://svnweb.freebsd.org/changeset/base/283976

Log:
  Remove unused variable and silence clang warnings.
  
  Differential Revision:        D2681
  Reviewed by:          rodrigc

Modified:
  head/lib/libdevstat/devstat.c

Modified: head/lib/libdevstat/devstat.c
==============================================================================
--- head/lib/libdevstat/devstat.c       Thu Jun  4 02:48:04 2015        
(r283975)
+++ head/lib/libdevstat/devstat.c       Thu Jun  4 02:50:13 2015        
(r283976)
@@ -334,7 +334,6 @@ devstat_getdevs(kvm_t *kd, struct statin
 {
        int error;
        size_t dssize;
-       int oldnumdevs;
        long oldgeneration;
        int retval = 0;
        struct devinfo *dinfo;
@@ -348,7 +347,6 @@ devstat_getdevs(kvm_t *kd, struct statin
                return(-1);
        }
 
-       oldnumdevs = dinfo->numdevs;
        oldgeneration = dinfo->generation;
 
        if (kd == NULL) {
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to