mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-21 11:55:43 +02:00
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 = '.
This commit is contained in:
@@ -64,7 +64,7 @@ struct DungeonParams {
|
||||
|
||||
class DungeonGen {
|
||||
public:
|
||||
MMVManip *vm;
|
||||
MMVManip *vm = nullptr;
|
||||
const NodeDefManager *ndef;
|
||||
GenerateNotifier *gennotify;
|
||||
|
||||
|
Reference in New Issue
Block a user