Browse Source

Revert "take out unused variables"

This reverts commit e5752ff9b3.

The variables i and n are used in the `#if !__GLIBC_PREREQ(2, 7)`
branch.

Closes gh-1586.
tags/v0.3.1
Matthew Brett 7 years ago
parent
commit
a8002e283a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      driver/others/memory.c

+ 1
- 1
driver/others/memory.c View File

@@ -180,7 +180,7 @@ int get_num_procs(void) {
cpu_set_t *cpusetp; cpu_set_t *cpusetp;
size_t size; size_t size;
int ret; int ret;
// int i,n;
int i,n;


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


Loading…
Cancel
Save