From: Mathieu Desnoyers Date: Tue, 7 May 2013 13:16:39 +0000 (-0400) Subject: Cleanup: ignore mktemp return value X-Git-Tag: v2.2.0-rc2~3 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=af21f7816739b0f9db8b4006ef4378ddc2de0157;p=lttng-ust.git Cleanup: ignore mktemp return value Signed-off-by: Mathieu Desnoyers --- diff --git a/libringbuffer/shm.c b/libringbuffer/shm.c index 90160ce1..995665ae 100644 --- a/libringbuffer/shm.c +++ b/libringbuffer/shm.c @@ -145,7 +145,7 @@ struct shm_object *_shm_object_table_alloc_shm(struct shm_object_table *table, * Using mktemp filename with O_CREAT | O_EXCL open * flags. */ - mktemp(tmp_name); + (void) mktemp(tmp_name); if (tmp_name[0] == '\0') { PERROR("mktemp"); goto error_shm_open;