Remove unused variable spotted by clang.
Differential Revision: D2685 Reviewed by: rodrigc, stas
This commit is contained in:
parent
16eb357647
commit
a770b4d8ae
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user