pacat: don't convert stream name twice (llvm-clang-analyzer)

This commit is contained in:
Lennart Poettering 2009-09-08 23:54:31 +02:00
parent 49bc6bcf08
commit b51f5e58cc

View file

@ -768,7 +768,6 @@ int main(int argc, char *argv[]) {
case ARG_STREAM_NAME: {
char *t;
t = pa_locale_to_utf8(optarg);
if (!(t = pa_locale_to_utf8(optarg)) ||
pa_proplist_sets(proplist, PA_PROP_MEDIA_NAME, t) < 0) {