summaryrefslogtreecommitdiff
path: root/daemons/lvmpolld
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2015-07-09 15:15:15 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2015-07-09 15:15:15 +0200
commit10d27998b3d2f6100e9e29e83d1d99948c55875f (patch)
tree74b93fc48a2bd4f301d366f01d25a9e8b95b9665 /daemons/lvmpolld
parenta9a7c297aebe82ddc9092b7b19cc9cfcc27e117e (diff)
downloadlvm2-10d27998b3d2f6100e9e29e83d1d99948c55875f.tar.gz
coverity: missing return value checks
Diffstat (limited to 'daemons/lvmpolld')
-rw-r--r--daemons/lvmpolld/lvmpolld-data-utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/daemons/lvmpolld/lvmpolld-data-utils.c b/daemons/lvmpolld/lvmpolld-data-utils.c
index f28bc512f..efe31cfd9 100644
--- a/daemons/lvmpolld/lvmpolld-data-utils.c
+++ b/daemons/lvmpolld/lvmpolld-data-utils.c
@@ -376,16 +376,16 @@ void lvmpolld_thread_data_destroy(void *thread_private)
data->errpipe[0] = -1;
if (data->outpipe[0] >= 0)
- close(data->outpipe[0]);
+ (void) close(data->outpipe[0]);
if (data->outpipe[1] >= 0)
- close(data->outpipe[1]);
+ (void) close(data->outpipe[1]);
if (data->errpipe[0] >= 0)
- close(data->errpipe[0]);
+ (void) close(data->errpipe[0]);
if (data->errpipe[1] >= 0)
- close(data->errpipe[1]);
+ (void) close(data->errpipe[1]);
dm_free(data);
}