mirror of https://github.com/stella-emu/stella.git
Remove unnecessary conditional.
This commit is contained in:
parent
79d40d52f8
commit
13d4ddb121
|
@ -325,10 +325,9 @@ bool PlusROM::isValidPath(const string& path) const
|
||||||
void PlusROM::send()
|
void PlusROM::send()
|
||||||
{
|
{
|
||||||
#if defined(HTTP_LIB_SUPPORT)
|
#if defined(HTTP_LIB_SUPPORT)
|
||||||
if (myPendingRequests.size() >= MAX_CONCURRENT_REQUESTS) {
|
|
||||||
// Try to make room by cosuming any requests that have completed.
|
// Try to make room by cosuming any requests that have completed.
|
||||||
receive();
|
receive();
|
||||||
}
|
|
||||||
|
|
||||||
if (myPendingRequests.size() >= MAX_CONCURRENT_REQUESTS) {
|
if (myPendingRequests.size() >= MAX_CONCURRENT_REQUESTS) {
|
||||||
Logger::error("PlusCart: max number of concurrent requests exceeded");
|
Logger::error("PlusCart: max number of concurrent requests exceeded");
|
||||||
|
|
Loading…
Reference in New Issue