Skip to content

Commit cf66c1a

Browse files
olszomalmtrojnar
authored andcommitted
Silence unused return value warning for _P11_update_forkid, CID 370017
1 parent cc93fb1 commit cf66c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/p11_atfork.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ static unsigned int _P11_update_forkid(void)
8282

8383
unsigned int get_forkid()
8484
{
85-
_P11_update_forkid();
85+
(void)_P11_update_forkid();
8686
return P11_forkid;
8787
}
8888

0 commit comments

Comments
 (0)