From 31b71b67011fa52f091df6fe536a11d6d0bfb256 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 25 Jul 2016 18:25:28 +0200 Subject: Imported Upstream version 2.0.2 --- openbsd/Platform.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'openbsd') 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) { -- cgit v1.2.3