aboutsummaryrefslogtreecommitdiffstats
path: root/openbsd/Platform.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-07-25 18:25:29 +0200
committerDaniel Lange <DLange@git.local>2016-07-25 18:25:29 +0200
commitaed86a83b9120528c2a2a5c137d443917682d4b4 (patch)
tree979855616d56f2864dedc7b88798e9831614e9ee /openbsd/Platform.c
parent6ca259100661aa0be46c8645773d32a8a6a5f312 (diff)
parent31b71b67011fa52f091df6fe536a11d6d0bfb256 (diff)
downloaddebian_htop-aed86a83b9120528c2a2a5c137d443917682d4b4.tar.gz
debian_htop-aed86a83b9120528c2a2a5c137d443917682d4b4.tar.bz2
debian_htop-aed86a83b9120528c2a2a5c137d443917682d4b4.zip
Merge tag 'upstream/2.0.2'
Upstream version 2.0.2
Diffstat (limited to 'openbsd/Platform.c')
-rw-r--r--openbsd/Platform.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/openbsd/Platform.c b/openbsd/Platform.c
index 251a713..9273abc 100644
--- a/openbsd/Platform.c
+++ b/openbsd/Platform.c
@@ -265,9 +265,6 @@ void Platform_setSwapValues(Meter* this) {
}
swdev = xCalloc(nswap, sizeof(*swdev));
- if (swdev == NULL) {
- return;
- }
rnswap = swapctl(SWAP_STATS, swdev, nswap);
if (rnswap == -1) {

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