From a8002e283a5874946bb464a45045d4651081e675 Mon Sep 17 00:00:00 2001 From: Matthew Brett Date: Fri, 1 Jun 2018 23:20:00 +0100 Subject: [PATCH] Revert "take out unused variables" This reverts commit e5752ff9b322c665a7393d6109c2da7ad6ee2523. The variables i and n are used in the `#if !__GLIBC_PREREQ(2, 7)` branch. Closes gh-1586. --- driver/others/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/others/memory.c b/driver/others/memory.c index ef328b945..d69e52e97 100644 --- a/driver/others/memory.c +++ b/driver/others/memory.c @@ -180,7 +180,7 @@ int get_num_procs(void) { cpu_set_t *cpusetp; size_t size; int ret; -// int i,n; +int i,n; if (!nums) nums = sysconf(_SC_NPROCESSORS_CONF); #if !defined(OS_LINUX)