From: Josh Bleecher Snyder Date: Tue, 30 Aug 2016 21:18:39 +0000 (-0700) Subject: misc/cgo/testsigfwd: add missing return statement X-Git-Tag: go1.8beta1~1559 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d1383b5b8f94f7d94cf703b27f58e329979568d3;p=gostls13.git 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 --- 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() {