mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Always return from non-void functions
This quiets a warning in Clang.
This commit is contained in:
parent
11be390110
commit
163c38e175
2 changed files with 4 additions and 0 deletions
|
@ -453,12 +453,14 @@ public:
|
|||
if(m_area.contains(p) == false)
|
||||
return false;
|
||||
m_data[m_area.index(p)] = n;
|
||||
return true;
|
||||
}
|
||||
bool setNodeNoEmerge(s32 i, MapNode n)
|
||||
{
|
||||
if(m_area.contains(i) == false)
|
||||
return false;
|
||||
m_data[i] = n;
|
||||
return true;
|
||||
}
|
||||
/*bool setContentNoEmerge(v3s16 p, u8 c)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue