aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/wave.cpp
diff options
context:
space:
mode:
authorChris Robinson <chris.kcat@gmail.com>2019-10-08 05:44:38 -0700
committerChris Robinson <chris.kcat@gmail.com>2019-10-08 05:44:38 -0700
commit7726a06d26e59dc6a8e109af2e268de878c4f606 (patch)
tree3fdea7f120e21def8e52b89d335f63aa38372497 /alc/backends/wave.cpp
parent360330b2add6cf10776c38aaa186b0892b54e300 (diff)
Clean up some exception messages and avoid duplicate log messages
Diffstat (limited to 'alc/backends/wave.cpp')
-rw-r--r--alc/backends/wave.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/alc/backends/wave.cpp b/alc/backends/wave.cpp
index 3b0a30d8..7bcc3436 100644
--- a/alc/backends/wave.cpp
+++ b/alc/backends/wave.cpp
@@ -223,11 +223,8 @@ void WaveBackend::open(const ALCchar *name)
mFile = fopen(fname, "wb");
#endif
if(!mFile)
- {
- ERR("Could not open file '%s': %s\n", fname, strerror(errno));
throw al::backend_exception{ALC_INVALID_VALUE, "Could not open file '%s': %s", fname,
strerror(errno)};
- }
mDevice->DeviceName = name;
}