From b700d91f84c8fe5b5a32cfd9ed5c50f37ea82bb4 Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Mon, 6 Jun 2016 00:00:00 -0500 Subject: [PATCH] library: whack a superfluous assignment, api This patch was prompted through work on the upgrade from 2nd gen to 3rd. And while this assignment caused no real harm, it most certainly was misleading. [ plus add a couple of overlooked #undef directives! ] Signed-off-by: Jim Warner --- proc/meminfo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/proc/meminfo.c b/proc/meminfo.c index 3e7064be..38dc8a62 100644 --- a/proc/meminfo.c +++ b/proc/meminfo.c @@ -460,6 +460,8 @@ enum meminfo_item PROCPS_MEMINFO_logical_end = PROCPS_MEMINFO_SWAP_USED + 1; #undef getDECL #undef MEM_get #undef HST_get +#undef RS +#undef RG // ___ Private Functions |||||||||||||||||||||||||||||||||||||||||||||||||||||| @@ -1002,7 +1004,7 @@ PROCPS_EXPORT struct meminfo_stack *procps_meminfo_select ( extents_free_all(info); } if (!info->extents - && !(info->extents = stacks_alloc(info, 1))) + && !(stacks_alloc(info, 1))) return NULL; if (info->dirty_stacks) -- 2.40.0