aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-21 22:22:20 +0200
committerMax Kellermann <max@duempel.org>2009-10-21 22:22:20 +0200
commit8cb6854da4c7966cf45f701dde35ee72fc931e64 (patch)
tree38bd17ada51319e6bc62ab1ecd80c1d1692b6105 /src
parent83844ec2391dd7bbf817543c62c97f5eed23e243 (diff)
downloadmpd-8cb6854da4c7966cf45f701dde35ee72fc931e64.tar.gz
mpd-8cb6854da4c7966cf45f701dde35ee72fc931e64.tar.xz
mpd-8cb6854da4c7966cf45f701dde35ee72fc931e64.zip
audio: removed config_param.value NULL check
The value is always non-NULL.
Diffstat (limited to '')
-rw-r--r--src/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio.c b/src/audio.c
index d48558e46..fb4712728 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -46,7 +46,7 @@ void initAudioConfig(void)
GError *error = NULL;
bool ret;
- if (NULL == param || NULL == param->value)
+ if (param == NULL)
return;
ret = audio_format_parse(&configured_audio_format, param->value,