From: Lee Duncan <[email protected]>
---
utils/open-isns/isnsadm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/utils/open-isns/isnsadm.c b/utils/open-isns/isnsadm.c
index ea2dcfe39960..a24fa75510d8 100644
--- a/utils/open-isns/isnsadm.c
+++ b/utils/open-isns/isnsadm.c
@@ -324,7 +324,7 @@ parse_registration(char **argv, int argc,
isns_object_list_t *objs, isns_object_
isns_attr_list_t attrlist = ISNS_ATTR_LIST_INIT;
struct isns_attr_list_parser state;
isns_object_t *obj;
- char *type, *name, *value, *next_attr;
+ char *name, *value, *next_attr;
char *attrs[128];
unsigned int nattrs = 0;
@@ -348,7 +348,6 @@ parse_registration(char **argv, int argc,
isns_object_list_t *objs, isns_object_
if ((value = strchr(name, '=')) != NULL)
*value++ = '\0';
- type = name;
if (!strcmp(name, "entity")) {
if (entity == NULL) {
isns_error("Cannot create entity object "
--
2.1.2
--
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.