diff options
author | FRIGN <dev@frign.de> | 2015-09-22 13:13:25 +0200 |
---|---|---|
committer | FRIGN <dev@frign.de> | 2015-09-22 14:15:24 +0200 |
commit | 20d53cebc122829449524ef339ce44e13c6e85ec (patch) | |
tree | 5059811bdd2f953b8ed8ead80fcf300689c60ea9 /%2525253fid%2525253d4be353e381e07fd8100f0cf29b299180f6681e46%25253fid%25253d4be353e381e07fd8100f0cf29b299180f6681e46&id2%25253d20d53cebc122829449524ef339ce44e13c6e85ec%253fid%253d4be353e381e07fd8100f0cf29b299180f6681e46&id2%253d20d53cebc122829449524ef339ce44e13c6e85ec%3fid%3d4be353e381e07fd8100f0cf29b299180f6681e46?id=20d53cebc122829449524ef339ce44e13c6e85ec | |
parent | bf8c71e42937b623f76ced22c9557f87e3d945da (diff) |
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.
Diffstat (limited to '%2525253fid%2525253d4be353e381e07fd8100f0cf29b299180f6681e46%25253fid%25253d4be353e381e07fd8100f0cf29b299180f6681e46&id2%25253d20d53cebc122829449524ef339ce44e13c6e85ec%253fid%253d4be353e381e07fd8100f0cf29b299180f6681e46&id2%253d20d53cebc122829449524ef339ce44e13c6e85ec%3fid%3d4be353e381e07fd8100f0cf29b299180f6681e46?id=20d53cebc122829449524ef339ce44e13c6e85ec')
0 files changed, 0 insertions, 0 deletions