Skip to content

Commit

Permalink
tidy: Fix two "braces around statements" warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Nov 3, 2021
1 parent c5755a3 commit 17826ec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mythtv/libs/libmythtv/io/mythfifowriter.cpp
Expand Up @@ -133,9 +133,13 @@ bool MythFIFOWriter::FIFOInit(uint Id, const QString& Desc, const QString& Name,
{
fifoptr->m_data = new unsigned char[static_cast<unsigned long>(m_maxBlkSize[Id])];
if (i == m_fbCount[Id] - 1)
{
fifoptr->m_next = m_fifoBuf[Id];
}
else
{
fifoptr->m_next = new struct MythFifoBuffer;
}
fifoptr = fifoptr->m_next;
}
m_fbInptr[Id] = m_fifoBuf[Id];
Expand Down
2 changes: 2 additions & 0 deletions mythtv/libs/libmythupnp/httprequest.cpp
Expand Up @@ -758,7 +758,9 @@ void HTTPRequest::FormatErrorResponse( bool bServerError,
}

if (m_bSOAPRequest)
{
stream << "</s:Fault>" << SOAP_ENVELOPE_END;
}

stream.flush();
}
Expand Down

0 comments on commit 17826ec

Please sign in to comment.