Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
alxnlssn
on Aug 21, 2014
|
parent
|
context
|
favorite
| on:
fork() can fail
The compile will fail if err is unused. You have to explicitly ignore it by doing like this:
pid,_ = fork()
donatj
on Aug 21, 2014
[–]
And these underscores are really easy to find. Then you just do a git blame and get your shaming on at code review time.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
pid,_ = fork()