From 58bd015ddff84c6bd0b5dcff54b9512e188f346c Mon Sep 17 00:00:00 2001 From: Louai Al-Khanji Date: Thu, 4 Feb 2016 17:46:50 -0800 Subject: QProcess: Remove dead code These functions appear to have been dead code always - even in the earliest Qt4 releases! Change-Id: Ie2a458092b45113782284cf8ed3aa11a018b60d4 Reviewed-by: Thiago Macieira --- src/corelib/io/qprocess_unix.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/corelib/io/qprocess_unix.cpp') diff --git a/src/corelib/io/qprocess_unix.cpp b/src/corelib/io/qprocess_unix.cpp index a6900544be..f9d14c8e5a 100644 --- a/src/corelib/io/qprocess_unix.cpp +++ b/src/corelib/io/qprocess_unix.cpp @@ -1034,12 +1034,6 @@ bool QProcessPrivate::waitForFinished(int msecs) return false; } -bool QProcessPrivate::waitForWrite(int msecs) -{ - pollfd pfd = qt_make_pollfd(stdinChannel.pipe[1], POLLOUT); - return qt_poll_msecs(&pfd, 1, msecs < 0 ? 0 : msecs) == 1; -} - void QProcessPrivate::findExitCode() { } -- cgit v1.2.3