summaryrefslogtreecommitdiff
path: root/src/pcm/SampleFormat.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-12-23 08:38:22 +0100
committerMax Kellermann <max@musicpd.org>2017-12-23 08:38:22 +0100
commit98472a81047c0280c760291f6839cff9bb0743b6 (patch)
tree991ab7469665b1ec8f6b5fc27b7e8e9e509046f0 /src/pcm/SampleFormat.hxx
parentd094c168aa0d9752ca2ffaf3d9569445c251ccc0 (diff)
pcm/SampleFormat: remove wrong "malloc" attribute
Diffstat (limited to 'src/pcm/SampleFormat.hxx')
-rw-r--r--src/pcm/SampleFormat.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm/SampleFormat.hxx b/src/pcm/SampleFormat.hxx
index 9d956b7f9..bd82acef6 100644
--- a/src/pcm/SampleFormat.hxx
+++ b/src/pcm/SampleFormat.hxx
@@ -122,7 +122,7 @@ sample_format_size(SampleFormat format)
* @param format a #SampleFormat enum value
* @return the string
*/
-gcc_pure gcc_malloc
+gcc_pure
const char *
sample_format_to_string(SampleFormat format) noexcept;