OCT 1. 禁止编译器检查结构体初始化警告

This commit is contained in:
huangxin 2023-01-28 15:45:49 +08:00
parent 54087da4d9
commit a3e24c8ce4
1 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,5 @@
#pragma clang diagnostic push
#pragma ide diagnostic ignored "cppcoreguidelines-pro-type-member-init"
/**************************************************************************
* Copyright (C) 2005 by Achal Dhir *
* achaldhir@gmail.com *
@ -777,4 +779,5 @@ void sendUserList(data19 *req, const char *pRequest, dhcpMap *dhcpCache,
void sendAllLists(data19 *req, bool kRunning, dhcpMap *dhcpCache, data2 *cfig);
int getHwAddr(char *buff, char *mac);
int arpSet(const char *ifname, char *ipStr, char *mac);
sockaddr_in get_cliAddr(char *nicif, char *tempbuff, data9 *req);
sockaddr_in get_cliAddr(char *nicif, char *tempbuff, data9 *req);
#pragma clang diagnostic pop