mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-10-03 15:35:29 +00:00
Fixes for many low-severity compiler warnings (#576)
* Fixes for many low-severity compiler warnings Mostly a lot of pedantic things like end-of-file newlines and commas on the last enum value. However some fixes like the weak v-tables warnings fixes might help with code gen. It's unclear if the linker is able to elide multiple copies of the same type's v-table in different translation units, (sometimes it can) but these fixes ensure we don't have to rely on it.
This commit is contained in:
@@ -530,9 +530,9 @@ duDisplayList::duDisplayList(int cap) :
|
||||
m_color(0),
|
||||
m_size(0),
|
||||
m_cap(0),
|
||||
m_depthMask(true),
|
||||
m_prim(DU_DRAW_LINES),
|
||||
m_primSize(1.0f)
|
||||
m_primSize(1.0f),
|
||||
m_depthMask(true)
|
||||
{
|
||||
if (cap < 8)
|
||||
cap = 8;
|
||||
|
||||
Reference in New Issue
Block a user