mirror of
git://git.suckless.org/st
synced 2025-04-08 06:33:49 +01:00
dup() -> dup2()
gcc would warn about an unused result. We know it is 0 and dup() can't fail in these circumstances, as we closed fd0 previously. Using dup2() to do the same saves one line and shuts gcc up, bringing us a clean build back.
This commit is contained in:
parent
bf8c71e429
commit
20d53cebc1
Loading…
x
Reference in New Issue
Block a user