Skip to content

Commit

Permalink
fixes warning
Browse files Browse the repository at this point in the history
  • Loading branch information
actboy168 committed Apr 28, 2024
1 parent b4e9d05 commit 72ac536
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bee/sys/path_osx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ namespace bee::sys {
assert(path_len > 1);
dynarray<char> buf(path_len);
int rv = _NSGetExecutablePath(buf.data(), &path_len);
(void)rv;
assert(rv == 0);
return fs::path(buf.data(), buf.data() + path_len - 1);
}
Expand Down

0 comments on commit 72ac536

Please sign in to comment.