Skip to content

Commit a8002e2

Browse files
committed
Revert "take out unused variables"
This reverts commit e5752ff. The variables i and n are used in the `#if !__GLIBC_PREREQ(2, 7)` branch. Closes gh-1586.
1 parent 401addd commit a8002e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/others/memory.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ int get_num_procs(void) {
180180
cpu_set_t *cpusetp;
181181
size_t size;
182182
int ret;
183-
// int i,n;
183+
int i,n;
184184

185185
if (!nums) nums = sysconf(_SC_NPROCESSORS_CONF);
186186
#if !defined(OS_LINUX)

0 commit comments

Comments
 (0)