diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-04-11 11:36:13 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-04-11 11:36:13 +0300 |
commit | 9d4e9c59de533ae28badb22da87cb553783dd133 (patch) | |
tree | 1497631e01225065e680c897ffeb7cf228690af2 /src/socket.cpp | |
parent | 3f153c20d3936d18398149082fc453aa55859b1e (diff) | |
download | minetest-9d4e9c59de533ae28badb22da87cb553783dd133.tar.gz minetest-9d4e9c59de533ae28badb22da87cb553783dd133.tar.bz2 minetest-9d4e9c59de533ae28badb22da87cb553783dd133.zip |
fixed warnings reported by cppcheck
Diffstat (limited to 'src/socket.cpp')
-rw-r--r-- | src/socket.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index b159fa14c..ab3ca62c5 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -53,6 +53,8 @@ void sockets_cleanup() Address::Address() { + m_address = 0; + m_port = 0; } Address::Address(unsigned int address, unsigned short port) |