Skip to content

Commit 69f9760

Browse files
authored
Suppress ignoring return value warning (#1368)
This commit fixes the warning treated as an error. It was a blocker. Relates-To: OLPEDGE-2780 Signed-off-by: Mykola Malik <ext-mykola.malik@here.com> Signed-off-by: Mykola Malik <ext-mykola.malik@here.com>
1 parent bc616d5 commit 69f9760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/functional/olp-cpp-sdk-core/DirTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void CreateDirectory(const std::string& path) { Dir::Create(path); }
4747

4848
void CreateSymLink(const std::string& to, const std::string& link) {
4949
#if !defined(_WIN32) || defined(__MINGW32__)
50-
symlink(to.c_str(), link.c_str());
50+
static_cast<void>(symlink(to.c_str(), link.c_str()));
5151
#else
5252
CreateSymbolicLink(to.c_str(), link.c_str(), 0);
5353
#endif

0 commit comments

Comments
 (0)