Skip to content

Commit bc18314

Browse files
committed
Remove unused variable in mca_smsc_xpmem_component_query
Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
1 parent 419eeb0 commit bc18314

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opal/mca/smsc/xpmem/smsc_xpmem_component.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ static int mca_smsc_xpmem_component_query(void)
116116
char buffer[1024];
117117
uintptr_t address_max = 0;
118118
while (fgets(buffer, sizeof(buffer), fh)) {
119-
uintptr_t low, high;
119+
uintptr_t high;
120120
char *tmp;
121121
/* each line of /proc/self/maps starts with low-high in hexadecimal (without a 0x) */
122-
low = strtoul(buffer, &tmp, 16);
122+
strtoul(buffer, &tmp, 16);
123123
high = strtoul(tmp + 1, NULL, 16);
124124
if (address_max < high) {
125125
address_max = high;

0 commit comments

Comments
 (0)