diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-09-08 14:58:29 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-09-18 12:28:40 +0200 |
commit | 475f729a364ce92999f67adba4d754babe12a266 (patch) | |
tree | df8396fe4c8b0921c8e5d96329c87691ed13d4c3 /freebsd | |
parent | e719a85994e0ba13ac107c49fd85d49495dfc6a2 (diff) |
Resolve unused variable on FreeBSD
Diffstat (limited to 'freebsd')
-rw-r--r-- | freebsd/FreeBSDProcessList.c | 2 | ||||
-rw-r--r-- | freebsd/Platform.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/freebsd/FreeBSDProcessList.c b/freebsd/FreeBSDProcessList.c index 6318d424..06e729c8 100644 --- a/freebsd/FreeBSDProcessList.c +++ b/freebsd/FreeBSDProcessList.c @@ -247,7 +247,6 @@ static inline void FreeBSDProcessList_scanMemoryInfo(ProcessList* pl) { u_long totalMem; u_int memActive, memWire, cachedMem; long buffersMem; - uint64_t memZfsArc; size_t len; //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_scanCPUTime(this); - int cpus = this->cpuCount; int count = 0; struct kinfo_proc* kprocs = kvm_getprocs(fpl->kd, KERN_PROC_PROC, 0, &count); diff --git a/freebsd/Platform.c b/freebsd/Platform.c index c51b37cb..df664ae5 100644 --- a/freebsd/Platform.c +++ b/freebsd/Platform.c @@ -205,10 +205,12 @@ void Platform_setZfsCompressedArcValues(Meter* this) { } void Platform_setTasksValues(Meter* this) { + (void) this; // TODO } char* Platform_getProcessEnv(pid_t pid) { + (void) pid; // TODO return NULL; } |