From d1383b5b8f94f7d94cf703b27f58e329979568d3 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Tue, 30 Aug 2016 14:18:39 -0700 Subject: [PATCH] misc/cgo/testsigfwd: add missing return statement Fixes C compiler warning: ./main.go:54:1: warning: control reaches end of non-void function [-Wreturn-type] Should help fix the linux builders that broke due to CL 23005. Change-Id: Ib0630798125e35a12f99d666b7ffe7b3196f0ecc Reviewed-on: https://go-review.googlesource.com/28176 Run-TryBot: Josh Bleecher Snyder TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- misc/cgo/testsigfwd/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/cgo/testsigfwd/main.go b/misc/cgo/testsigfwd/main.go index d5fbf5022e..61bd0da88a 100644 --- a/misc/cgo/testsigfwd/main.go +++ b/misc/cgo/testsigfwd/main.go @@ -50,6 +50,7 @@ static void iohandler(int signum) { static void* sigioThread(void* arg __attribute__ ((unused))) { raise(SIGIO); + return NULL; } static void sigioOnThread() { -- 2.48.1