diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2017-06-21 16:04:14 -0400 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2017-06-21 20:04:43 +0000 |
commit | 6e0bc30a95ae7759c45ce1f39360259570087b5d (patch) | |
tree | d0d35ffaee965b914449f9bea360b601e3abc6d3 /wsutil | |
parent | ee694cda7cc9eae0d33d1d971a8faba9c11f0b0a (diff) | |
download | wireshark-6e0bc30a95ae7759c45ce1f39360259570087b5d.tar.gz |
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>
Diffstat (limited to 'wsutil')
-rw-r--r-- | wsutil/filesystem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wsutil/filesystem.c b/wsutil/filesystem.c index 32ad9c79b1..727d89be83 100644 --- a/wsutil/filesystem.c +++ b/wsutil/filesystem.c @@ -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); |