Remove unused variable spotted by clang.

Differential Revision:	D2685
Reviewed by:		rodrigc, stas
This commit is contained in:
Marcelo Araujo 2015-06-01 06:05:53 +00:00
parent 16eb357647
commit a770b4d8ae
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283868

View File

@ -1235,7 +1235,7 @@ procstat_get_vnode_info_kvm(kvm_t *kd, struct filestat *fst,
struct vnode vnode;
char tagstr[12];
void *vp;
int error, found;
int error;
unsigned int i;
assert(kd);
@ -1264,7 +1264,7 @@ procstat_get_vnode_info_kvm(kvm_t *kd, struct filestat *fst,
/*
* Find appropriate handler.
*/
for (i = 0, found = 0; i < NTYPES; i++)
for (i = 0; i < NTYPES; i++)
if (!strcmp(fstypes[i].tag, tagstr)) {
if (fstypes[i].handler(kd, &vnode, vn) != 0) {
goto fail;