diff options
author | Loïc Blot <loic.blot@unix-experience.fr> | 2018-12-04 12:39:10 +0100 |
---|---|---|
committer | Loïc Blot <loic.blot@unix-experience.fr> | 2018-12-04 12:39:10 +0100 |
commit | 39ea1cd4283a77066d5f63b90146dfb17de813a8 (patch) | |
tree | 55e1efd90c6fee2642f76859ada0ccf854812cf1 /src/log.h | |
parent | 6f426056f1bedbf807595af0bd4812a8f3ef34e7 (diff) | |
download | minetest-39ea1cd4283a77066d5f63b90146dfb17de813a8.tar.gz minetest-39ea1cd4283a77066d5f63b90146dfb17de813a8.tar.bz2 minetest-39ea1cd4283a77066d5f63b90146dfb17de813a8.zip |
Fix uninitialized variable peer_id
Reported by GCC
```
minetest/src/server.cpp:996:42: warning: ‘peer_id’ may be used uninitialized in this function [-Wmaybe-uninitialized]
errorstream << "ProcessData: peer=" << peer_id << e.what() << std::endl;
```
Diffstat (limited to 'src/log.h')
0 files changed, 0 insertions, 0 deletions