Index: b/harness/cases/12.t
===================================================================
--- a/harness/cases/12.t
+++ b/harness/cases/12.t
@@ -18,7 +18,7 @@

 int test_main(void)
 {
-	int res, status;
+	int status;
 	pid_t pid;
 	sigset_t set;

@@ -35,7 +35,7 @@
 	if (pid == 0)
 		test_child();

-	res = waitpid(pid, &status, 0);
+	waitpid(pid, &status, 0);

 	if (WIFEXITED(status)) {
 		int failed = (WEXITSTATUS(status) != 0);
Index: b/harness/cases/14.t
===================================================================
--- a/harness/cases/14.t
+++ b/harness/cases/14.t
@@ -59,7 +59,7 @@
 /* from 12.t */
 int test_main(void)
 {
-	int res, status;
+	int status;
 	pid_t pid;
 	sigset_t set;

@@ -75,7 +75,7 @@
 	if (pid == 0)
 		test_child();

-	res = waitpid(pid, &status, 0);
+	waitpid(pid, &status, 0);

 	if (WIFEXITED(status)) {
 		int failed = (WEXITSTATUS(status) != 0);