mirror of
https://github.com/blender/blender
synced 2026-09-26 16:15:47 +03:00
Cleanup: Strict compiler warning
A static function is only used from asserts, generating unused warning for release builds. Pull Request: https://projects.blender.org/blender/blender/pulls/117398
This commit is contained in:
parent
a1761b7c8c
commit
c368a2c345
1 changed files with 1 additions and 1 deletions
|
|
@ -857,7 +857,7 @@ enum {
|
|||
|
||||
typedef int (*RecursiveOp_Callback)(const char *from, const char *to);
|
||||
|
||||
static bool path_has_trailing_slash(const char *path)
|
||||
[[maybe_unused]] static bool path_has_trailing_slash(const char *path)
|
||||
{
|
||||
const int path_len = strlen(path);
|
||||
if (path_len == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue