Ifdef numberofHeaders out if not compiling music

This variable is only used when compiling music. Since it doesn't
actually keep track of the number of headers otherwise, ifdef it behind
VVV_COMPILEMUSIC.
This commit is contained in:
Misa committed 2021-09-23 21:55:58 -07:00
1 parent 1297b09c47
commit 51bfed2032
2 files changed
+4

No files matched your search

+2
View File
@@ -12,7 +12,9 @@
binaryBlob::binaryBlob(void)
{
#ifdef VVV_COMPILEMUSIC
numberofHeaders = 0;
#endif
SDL_zeroa(m_headers);
SDL_zeroa(m_memblocks);
}