Cleanup: ignore mktemp return value
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 7 May 2013 13:16:39 +0000 (09:16 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 7 May 2013 13:16:39 +0000 (09:16 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libringbuffer/shm.c

index 90160ce1976c7c7c5a2853eca93229c9b3871460..995665ae16f4ee0b4836b3ffaf047bfb76ec3193 100644 (file)
@@ -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;
This page took 0.025043 seconds and 4 git commands to generate.