aboutsummaryrefslogtreecommitdiff
path: root/libgomp/config/linux/affinity.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgomp/config/linux/affinity.c')
-rw-r--r--libgomp/config/linux/affinity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgomp/config/linux/affinity.c b/libgomp/config/linux/affinity.c
index 65d7f96..5de02b0 100644
--- a/libgomp/config/linux/affinity.c
+++ b/libgomp/config/linux/affinity.c
@@ -411,11 +411,11 @@ gomp_affinity_init_numa_domains (unsigned long count, cpu_set_t *copy,
{
char *p = line;
void *pl = NULL;
+ bool seen = false;
while (*p && *p != '\n')
{
unsigned long first, last;
- bool seen = false;
errno = 0;
first = strtoul (p, &end, 10);