Networking-for-Arduino / EthernetENC

Ethernet library for ENC28J60. This is a modern version of the UIPEthernet library. EthernetENC library is compatible with all Arduino architectures with Arduino SPI library with transactions support. Only include EthernetENC.h instead of Ethernet.h

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Static code check

simogaspa84 opened this issue · comments

Hi..

Running the analysis I got this info from Cppcheck 2.6

image

``

UIPUDP::beginPacket(IPAddress ip, uint16_t port)
{
UIPEthernetClass::tick();
if ((ip[0] || ip[1] || ip[2] || ip[3]) && port)
{
uip_ipaddr_t ripaddr;
uip_ip_addr(&ripaddr, ip);

Maybe it is a false positive but better to check...

I hope it helps

Simone