Resolve unused variable on FreeBSD

This commit is contained in:
Christian Göttsche 2020-09-08 14:58:29 +02:00 committed by cgzones
parent e719a85994
commit 475f729a36
2 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,6 @@ static inline void FreeBSDProcessList_scanMemoryInfo(ProcessList* pl) {
u_long totalMem; u_long totalMem;
u_int memActive, memWire, cachedMem; u_int memActive, memWire, cachedMem;
long buffersMem; long buffersMem;
uint64_t memZfsArc;
size_t len; size_t len;
//disabled for now, as it is always smaller than phycal amount of memory... //disabled for now, as it is always smaller than phycal amount of memory...
@ -383,7 +382,6 @@ void ProcessList_goThroughEntries(ProcessList* this) {
FreeBSDProcessList_scanMemoryInfo(this); FreeBSDProcessList_scanMemoryInfo(this);
FreeBSDProcessList_scanCPUTime(this); FreeBSDProcessList_scanCPUTime(this);
int cpus = this->cpuCount;
int count = 0; int count = 0;
struct kinfo_proc* kprocs = kvm_getprocs(fpl->kd, KERN_PROC_PROC, 0, &count); struct kinfo_proc* kprocs = kvm_getprocs(fpl->kd, KERN_PROC_PROC, 0, &count);

View File

@ -205,10 +205,12 @@ void Platform_setZfsCompressedArcValues(Meter* this) {
} }
void Platform_setTasksValues(Meter* this) { void Platform_setTasksValues(Meter* this) {
(void) this;
// TODO // TODO
} }
char* Platform_getProcessEnv(pid_t pid) { char* Platform_getProcessEnv(pid_t pid) {
(void) pid;
// TODO // TODO
return NULL; return NULL;
} }