From 290ddba35e7a1463c1a9fc5ff6bd723cd1670ba2 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Mon, 8 May 2023 10:08:20 +1000 Subject: Minor whitespace and small logic flow improvements on review Quality improvements from BenBE as part of review for #1234. --- openbsd/Platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsd') diff --git a/openbsd/Platform.c b/openbsd/Platform.c index 94e71928..06594089 100644 --- a/openbsd/Platform.c +++ b/openbsd/Platform.c @@ -182,7 +182,7 @@ int Platform_getMaxPid(void) { double Platform_setCPUValues(Meter* this, unsigned int cpu) { const Machine* host = this->host; const OpenBSDMachine* ohost = (const OpenBSDMachine*) host; - const CPUData* cpuData = &(ohost->cpuData[cpu]); + const CPUData* cpuData = &ohost->cpuData[cpu]; double total; double totalPercent; double* v = this->values; -- cgit v1.2.3