Skip to content

Commit 09655ef

Browse files
committed
hdsShow: Remove duplicate declaration
This is so the inner declaration does not hide the outer declaration preventing the pointer being freed at the end of the function.
1 parent 6aba084 commit 09655ef

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

hdsShow.c

-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ hdsShow(const char *topic_str, int *status) {
107107
status);
108108
} else if (strncasecmp( topic_str, "FIL", 3 ) == 0 ||
109109
strncasecmp( topic_str, "LOC", 3 ) == 0 ) {
110-
hid_t *obj_id_list = NULL;
111110
ssize_t nobj = 0;
112111
ssize_t nret = 0;
113112
unsigned int types = 0;

0 commit comments

Comments
 (0)