Age | Commit message (Collapse) | Author |
|
These cause warnings from Clang when -Wunused-private-field is set.
Was initially unsure if this class was saved as it was a subclass of
MemoryObject, but changing this appears to be safe as the save method
is not implemented in any case.
|
|
|
|
abe1c65d626a8f3 changed _trackName from a char * to a Common::String,
but still tried to access the null terminator byte.
|
|
|
|
|
|
|
|
Thanks to wjp for the suggestion
|
|
|
|
|
|
|
|
|
|
This matches the original and fixes the footstep sounds.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
strncpy does not assure that the result is 0 terminated. strlcpy does, which
makes this safer.
I only replaced strncpy usages where the memory was not allocated to the
correct size right before the strncpy usage.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|