Fix various code issues found by cppcheck (#7741)
authorParamat <paramat@users.noreply.github.com>
Sun, 23 Sep 2018 19:12:39 +0000 (20:12 +0100)
committerGitHub <noreply@github.com>
Sun, 23 Sep 2018 19:12:39 +0000 (20:12 +0100)
commit8543df7752bfdd43922f8f9377cd94aae71d83b9
treecee1ad39f49709455e8713ca0640f76f38102d20
parent65af7d2fb6a7e9537dedfb9d11e93c929030d71b
Fix various code issues found by cppcheck (#7741)

Mapgen Singlenode: Remove 'flags' that duplicates a 'class Mapgen' member.
Dungeongen: Initialise 'MMVManip *vm' to 'nullptr'.
Inventorymanager: Remove assignment error 'found = '.
src/inventorymanager.cpp
src/mapgen/dungeongen.h
src/mapgen/mapgen_singlenode.cpp
src/mapgen/mapgen_singlenode.h