summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorStephan Brunner <s.brunner@stephan-brunner.net>2022-11-01 10:46:59 +0100
committerStephan Brunner <s.brunner@stephan-brunner.net>2022-11-01 10:46:59 +0100
commitad94c19554d7c6bb18ab2e251e4ee403ee0b7732 (patch)
treed76e2475309edbf7a778aeed2b9af7c1dc1d4567 /.github/workflows
parent4e86498731a1e31e313e6f60f73344e0506fd29b (diff)
downloadaccel-ppp-xebd-ad94c19554d7c6bb18ab2e251e4ee403ee0b7732.tar.gz
accel-ppp-xebd-ad94c19554d7c6bb18ab2e251e4ee403ee0b7732.zip
Remove uninitialized argument from openpty()
As per the docs: The openpty() function finds an available pseudoterminal and returns file descriptors for the master and slave in amaster and aslave. [...] If termp is not NULL, the terminal parameters of the slave will be set to the values in termp. [...] So openpty() would set the pty parameters to something undefined. This undefinedness will be fixed by the later tcsetattr() call. As a result, we don't need that parameter in the first place. Additionally, fixes a -Wmaybe-uninitialized warning.
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions