mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-24 15:15:44 +00:00
Resolve unused variable on FreeBSD
This commit is contained in:
parent
e719a85994
commit
475f729a36
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user