diff --git a/src/uvw/tcp.hpp b/src/uvw/tcp.hpp index f233d8ac..72cfc4ff 100644 --- a/src/uvw/tcp.hpp +++ b/src/uvw/tcp.hpp @@ -219,7 +219,7 @@ public: private: enum { DEFAULT, FLAGS } tag{DEFAULT}; - unsigned int flags; + unsigned int flags{}; }; diff --git a/src/uvw/udp.hpp b/src/uvw/udp.hpp index ba801b20..5777af8e 100644 --- a/src/uvw/udp.hpp +++ b/src/uvw/udp.hpp @@ -370,7 +370,7 @@ public: private: enum { DEFAULT, FLAGS } tag{DEFAULT}; - unsigned int flags; + unsigned int flags{}; };