removed spurious debugging messages

This commit is contained in:
Fufu Fang 2019-10-25 03:07:36 +01:00
parent 647b106a7c
commit 1105f8a0ba
No known key found for this signature in database
GPG Key ID: 0F6BB5EF6F8BB729
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,6 @@
VERSION=1.2.0
CFLAGS+= -g3 -O2 -Wall -Wextra -Wshadow -rdynamic -D_GNU_SOURCE\
CFLAGS += -O2 -Wall -Wextra -Wshadow -rdynamic -D_GNU_SOURCE\
-D_FILE_OFFSET_BITS=64 -DVERSION=\"$(VERSION)\"\
`pkg-config --cflags-only-I gumbo libcurl fuse uuid expat`
LIBS = -pthread -lgumbo -lcurl -lfuse -lcrypto -luuid -lexpat

View File

@ -139,7 +139,6 @@ static void XMLCALL XML_process_single_element(void *data, const char *elem,
int linkname_set = 0;
for (int i = 0; attr[i]; i += 2) {
printf("%s: %s\n", attr[i], attr[i+1]);
if (!strcmp("id", attr[i])) {
link->sonic_id = atoi(attr[i+1]);
link->sonic_id_str = calloc(MAX_FILENAME_LEN, sizeof(char));