forked from bartvdbraak/blender
Cleanup: fixed compiler warning about strncat
`strncat(command, "x", 1)` is the same as `strcat(command, "x")`, except that the latter form doesn't trigger a GCC warning. No functional changes.
This commit is contained in:
parent
c7ee66e517
commit
bd4b29d63d
2
extern/cuew/src/cuew.c
vendored
2
extern/cuew/src/cuew.c
vendored
@ -879,7 +879,7 @@ int cuewCompilerVersion(void) {
|
||||
}
|
||||
|
||||
/* get --version output */
|
||||
strncat(command, "\"", 1);
|
||||
strcat(command, "\"");
|
||||
strncat(command, path, sizeof(command) - 1);
|
||||
strncat(command, "\" --version", sizeof(command) - strlen(path) - 1);
|
||||
pipe = popen(command, "r");
|
||||
|
Loading…
Reference in New Issue
Block a user