mirror of
https://projects.blender.org/blender/blender.git
synced 2025-01-22 15:32:15 -05: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…
Reference in a new issue