QHttpNetworkConnectionChannel::sendRequest: drop return type
We never used the bool return anywhere. Change-Id: I7855ee6b8443a0d1fe66177a7fa2bc7568621368 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
b6bfde6cf2
commit
6f4fcf63c1
@ -223,14 +223,14 @@ void QHttpNetworkConnectionChannel::abort()
|
||||
}
|
||||
|
||||
|
||||
bool QHttpNetworkConnectionChannel::sendRequest()
|
||||
void QHttpNetworkConnectionChannel::sendRequest()
|
||||
{
|
||||
Q_ASSERT(protocolHandler);
|
||||
if (waitingForPotentialAbort) {
|
||||
needInvokeSendRequest = true;
|
||||
return false; // this return value is unused
|
||||
return;
|
||||
}
|
||||
return protocolHandler->sendRequest();
|
||||
protocolHandler->sendRequest();
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -140,7 +140,7 @@ public:
|
||||
void close();
|
||||
void abort();
|
||||
|
||||
bool sendRequest();
|
||||
void sendRequest();
|
||||
void sendRequestDelayed();
|
||||
|
||||
bool ensureConnection();
|
||||
|
Loading…
x
Reference in New Issue
Block a user