swr: fix unused SplitString warning
Reviewed-by: Jan Zielinski <jan.zielinski@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9502>
This commit is contained in:
parent
17441cf92f
commit
c58a7c7108
|
@ -111,6 +111,7 @@ void SWR_API SetCurrentThreadName(const char* pThreadName)
|
|||
#endif // Linux
|
||||
}
|
||||
|
||||
#if defined(__APPLE__) || defined(FORCE_LINUX) || defined(__linux__) || defined(__gnu_linux__)
|
||||
static void
|
||||
SplitString(std::vector<std::string>& out_segments, const std::string& input, char splitToken)
|
||||
{
|
||||
|
@ -126,6 +127,7 @@ SplitString(std::vector<std::string>& out_segments, const std::string& input, ch
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif // Unix
|
||||
|
||||
void SWR_API CreateDirectoryPath(const std::string& path)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue