Skip to content

Commit 0dab814

Browse files
committed
0 -> nullptr
1 parent 691c083 commit 0dab814

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/ESP8266mDNS/src/LEAmDNS2_Backbone.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ bool clsLEAMDNSHost::clsBackbone::init(void)
7070
*/
7171
UdpContext* clsLEAMDNSHost::clsBackbone::addHost(clsLEAMDNSHost* p_pHost)
7272
{
73-
UdpContext* pUDPContext = 0;
73+
UdpContext* pUDPContext = nullptr;
7474

7575
if ((m_pUDPContext) && (p_pHost) && (m_uniqueHost == nullptr))
7676
{
@@ -193,7 +193,7 @@ bool clsLEAMDNSHost::clsBackbone::_releaseUDPContext(void)
193193
if (m_pUDPContext)
194194
{
195195
m_pUDPContext->unref();
196-
m_pUDPContext = 0;
196+
m_pUDPContext = nullptr;
197197
}
198198
return true;
199199
}

0 commit comments

Comments
 (0)