mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-14 03:23:43 +00:00
lint fix
This commit is contained in:
@@ -113,7 +113,7 @@ INLINE void process_set_name_prefix(int argc, char *argv[], const char *prefix)
|
|||||||
size_t arg_len = strlen(argv[index]);
|
size_t arg_len = strlen(argv[index]);
|
||||||
if (used + arg_len + 16 >= allocated) {
|
if (used + arg_len + 16 >= allocated) {
|
||||||
allocated += arg_len + 2048;
|
allocated += arg_len + 2048;
|
||||||
A_REALLOC(cmdline, allocated);
|
A_REALLOC(cmdline, allocated); // cppcheck-suppress memleakOnRealloc // False-positive (ok with assert)
|
||||||
}
|
}
|
||||||
|
|
||||||
strcat(cmdline, " ");
|
strcat(cmdline, " ");
|
||||||
|
|||||||
Reference in New Issue
Block a user