wsutil: Ignore return from ws_write

Change-Id: Idad4dd84538e3ccb7b258775704db8b6bd6c301e
Reviewed-on: https://code.wireshark.org/review/22319
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
Stig Bjørlykke 2017-06-21 16:04:14 -04:00
parent ee694cda7c
commit 6e0bc30a95
1 changed files with 2 additions and 2 deletions

View File

@ -1260,8 +1260,8 @@ profile_write_info_file(void)
file = g_list_first(files);
while (file) {
filename = (gchar *)file->data;
ws_write(fd, filename, (unsigned int)strlen(filename));
ws_write(fd, "\n", 1);
(void)ws_write(fd, filename, (unsigned int)strlen(filename));
(void)ws_write(fd, "\n", 1);
file = g_list_next(file);
}
g_list_free(files);