mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-03 03:49:12 +00:00
(svn r17001) -Codechange: replace some more assert(0)s to NOT_REACHED() and document why they (assert(0)) have to stay for the remaining cases.
This commit is contained in:
@@ -1248,8 +1248,7 @@ static char *GetSpecialNameString(char *buff, int ind, int64 *argv, const char *
|
||||
return strecpy(buff, GetScreenshotFormatDesc(i), last);
|
||||
}
|
||||
|
||||
assert(0);
|
||||
return NULL;
|
||||
NOT_REACHED();
|
||||
}
|
||||
|
||||
#ifdef ENABLE_NETWORK
|
||||
|
Reference in New Issue
Block a user