Skip to content

CID 1516688: Uninitialized members (UNINIT_CTOR) #10013

@zwoop

Description

@zwoop
*** CID 1516688:  Uninitialized members  (UNINIT_CTOR)
/iocore/net/AcceptOptions.h: 95 in AcceptOptions::AcceptOptions()()
89     
90       /// Proxy Protocol enabled
91       bool f_proxy_protocol;
92     
93       /// Default constructor.
94       /// Instance is constructed with default values.
   CID 1516688:  Uninitialized members  (UNINIT_CTOR)
   Non-static class member "defer_accept" is not initialized in this constructor nor in any functions that it calls.
95       AcceptOptions() { this->reset(); }
96       /// Reset all values to defaults.
97       self &reset();

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions