diff options
Diffstat (limited to 'alc/backends')
-rw-r--r-- | alc/backends/oss.cpp | 2 | ||||
-rw-r--r-- | alc/backends/solaris.cpp | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/alc/backends/oss.cpp b/alc/backends/oss.cpp index ad1df7d6..a24744c2 100644 --- a/alc/backends/oss.cpp +++ b/alc/backends/oss.cpp @@ -674,10 +674,8 @@ void OSSBackendFactory::probe(DevProbe type, std::string *outnames) { auto add_device = [outnames](const DevMap &entry) -> void { -#ifdef HAVE_STAT struct stat buf; if(stat(entry.device_name.c_str(), &buf) == 0) -#endif { /* Includes null char. */ outnames->append(entry.name.c_str(), entry.name.length()+1); diff --git a/alc/backends/solaris.cpp b/alc/backends/solaris.cpp index d292c012..93ab64cb 100644 --- a/alc/backends/solaris.cpp +++ b/alc/backends/solaris.cpp @@ -276,10 +276,8 @@ void SolarisBackendFactory::probe(DevProbe type, std::string *outnames) { case DevProbe::Playback: { -#ifdef HAVE_STAT struct stat buf; if(stat(solaris_driver.c_str(), &buf) == 0) -#endif outnames->append(solaris_device, sizeof(solaris_device)); } break; |