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:
Graham Pentheny
2022-11-11 21:03:03 -05:00
committed by GitHub
parent ea7bfbee70
commit 5111139558
32 changed files with 139 additions and 88 deletions

View File

@@ -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;