projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
401addd
)
Revert "take out unused variables"
author
Matthew Brett
<matthew.brett@gmail.com>
Fri, 1 Jun 2018 22:20:00 +0000
(23:20 +0100)
committer
Matthew Brett
<matthew.brett@gmail.com>
Fri, 1 Jun 2018 22:20:00 +0000
(23:20 +0100)
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
patch
|
blob
|
history
diff --git
a/driver/others/memory.c
b/driver/others/memory.c
index
ef328b9
..
d69e52e
100644
(file)
--- 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)