summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-09-08 14:58:29 +0200
committercgzones <cgzones@googlemail.com>2020-09-18 12:28:40 +0200
commit475f729a364ce92999f67adba4d754babe12a266 (patch)
treedf8396fe4c8b0921c8e5d96329c87691ed13d4c3 /freebsd
parente719a85994e0ba13ac107c49fd85d49495dfc6a2 (diff)
Resolve unused variable on FreeBSD
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/FreeBSDProcessList.c2
-rw-r--r--freebsd/Platform.c2
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;
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy