mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Remove useless assertion
This commit is contained in:
parent
fcd2d2e668
commit
e6a9968d23
1 changed files with 0 additions and 2 deletions
|
@ -539,8 +539,6 @@ void str::snprintf(char *dst, int size, const char *fmt, ...)
|
|||
len = vsnprintf(buffer, sizeof(buffer), fmt, argptr);
|
||||
va_end(argptr);
|
||||
|
||||
assert(len < size);
|
||||
|
||||
strncpy(dst, buffer, size - 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue