Skip to content

Commit 5dfb7dd

Browse files
committed
bitmap: remove a useless assignment
Foud by cppcheck. Signed-off-by: Brice Goglin <[email protected]>
1 parent daa816c commit 5dfb7dd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hwloc/bitmap.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Copyright © 2009 CNRS
3-
* Copyright © 2009-2016 Inria. All rights reserved.
3+
* Copyright © 2009-2017 Inria. All rights reserved.
44
* Copyright © 2009-2011 Université Bordeaux
55
* Copyright © 2009-2011 Cisco Systems, Inc. All rights reserved.
66
* See COPYING in top-level directory.
@@ -607,7 +607,6 @@ int hwloc_bitmap_taskset_sscanf(struct hwloc_bitmap_s *set, const char * __hwloc
607607
int count;
608608
int infinite = 0;
609609

610-
current = string;
611610
if (!strncmp("0xf...f", current, 7)) {
612611
/* infinite bitmap */
613612
infinite = 1;

0 commit comments

Comments
 (0)