Skip to content

CID 1516688: Uninitialized members (UNINIT_CTOR) #10013

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();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions