Print this page
10075 make usr/src/tools smatch clean
@@ -9,10 +9,11 @@
* http://www.illumos.org/license/CDDL.
*/
/*
* Copyright 2011 Jason King. All rights reserved.
+ * Copyright (c) 2018, Joyent, Inc.
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -130,11 +131,11 @@
(char *const *)cmd, environ)) != 0) {
warnx("could not exec mcs: %s", strerror(rc));
return (B_FALSE);
}
- waitpid(pid, &stat, 0);
+ (void) waitpid(pid, &stat, 0);
if (!WIFEXITED(stat) || WEXITSTATUS(stat) != 0) {
warnx("Removing CTF information from %s failed", filename);
return (B_FALSE);
}