build: quiesce analyzer warnings
This commit is contained in:
parent
0302df1ba8
commit
2741cf6375
2
io.cpp
2
io.cpp
@ -47,8 +47,6 @@ access_to_cflags (access_t a) {
|
||||
flags = O_WRONLY | O_CREAT;
|
||||
}
|
||||
|
||||
a = static_cast<access_t> (a & ~ACCESS_READWRITE);
|
||||
|
||||
return flags;
|
||||
}
|
||||
|
||||
|
@ -101,11 +101,12 @@ ipv4::ip::operator == (const ipv4::ip &rhs) const {
|
||||
%%write data;
|
||||
|
||||
|
||||
ipv4::ip::ip (const std::string &data) {
|
||||
ipv4::ip::ip (const std::string &data)
|
||||
{
|
||||
bool __success = true;
|
||||
uint8_t __octets[4] = { 0, 0, 0, 0 };
|
||||
const char *octetstart = nullptr,
|
||||
*octetend = nullptr;
|
||||
const char *octetstart = data.data ();
|
||||
const char *octetend = nullptr;
|
||||
uint8_t __octet;
|
||||
|
||||
int cs = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user