Skip to content
Snippets Groups Projects
Commit 8b331014 authored by Ian Lance Taylor's avatar Ian Lance Taylor
Browse files

re PR go/90614 (gcc-9.1.0/libgo/go/syscall/wait.c:54:22: error: unused...

re PR go/90614 (gcc-9.1.0/libgo/go/syscall/wait.c:54:22: error: unused parameter ‘w’ [-Werror=unused-parameter] Continued (uint32_t *w))

	PR go/90614
    syscall: avoid unused parameter error if WIFCONTINUED not defined
    
    Fixes https://gcc.gnu.org/PR90614
    
    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/178997

From-SVN: r271638
parent a963ca40
No related branches found
No related tags found
No related merge requests found
54aacecc8167bfba8420cb7b245787ff80bde61b
578c4fb6132801db8e9d11d741d2394e07c5a398
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
......@@ -51,7 +51,7 @@ extern _Bool Continued (uint32_t *w)
__asm__ (GOSYM_PREFIX "syscall.WaitStatus.Continued");
_Bool
Continued (uint32_t *w)
Continued (uint32_t *w __attribute__ ((unused)))
{
return WIFCONTINUED (*w) != 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment