Skip to content

Commit e6de42c

Browse files
committed
opal/util/info.c: fix compiler warning
Remove unused variable. Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
1 parent a5b1c9a commit e6de42c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

opal/util/info.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* University of Stuttgart. All rights reserved.
1111
* Copyright (c) 2004-2005 The Regents of the University of California.
1212
* All rights reserved.
13-
* Copyright (c) 2007-2015 Cisco Systems, Inc. All rights reserved.
13+
* Copyright (c) 2007-2018 Cisco Systems, Inc. All rights reserved
1414
* Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.
1515
* Copyright (c) 2012-2017 Los Alamos National Security, LLC. All rights
1616
* reserved.
@@ -96,15 +96,14 @@ static void opal_info_get_nolock (opal_info_t *info, const char *key, int valuel
9696
char *value, int *flag)
9797
{
9898
opal_info_entry_t *search;
99-
int value_length;
10099

101100
search = info_find_key (info, key);
102101
if (NULL == search){
103102
*flag = 0;
104103
} else if (value && valuelen) {
105104
/*
106105
* We have found the element, so we can return the value
107-
* Set the flag, value_length and value
106+
* Set the flag and value
108107
*/
109108
*flag = 1;
110109
opal_string_copy(value, search->ie_value, valuelen);

0 commit comments

Comments
 (0)