mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-04-07 02:00:05 -04:00
Quiet/fix a couple of static analyzer warnings as reported by Xcode.
This commit is contained in:
@@ -661,7 +661,7 @@ void bm_ChangeEndName(const char *src, char *dest) {
|
||||
ddio_SplitPath(src, path, filename, ext);
|
||||
limit = BITMAP_NAME_LEN - 7;
|
||||
// Make sure we don't go over our name length limit
|
||||
strncpy(filename, filename, limit);
|
||||
// strncpy(filename, filename, limit);
|
||||
filename[limit] = 0;
|
||||
Start:
|
||||
if (curnum != -1)
|
||||
|
||||
Reference in New Issue
Block a user