]> code.delx.au - pulseaudio/commitdiff
cli-command: don't necessarily ovveride failure code of files (llvm-clang-analyzer)
authorLennart Poettering <lennart@poettering.net>
Tue, 8 Sep 2009 21:51:00 +0000 (23:51 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 8 Sep 2009 21:51:00 +0000 (23:51 +0200)
src/pulsecore/cli-command.c

index 3941cc85dbd1f3e028357b76f9eb2338cc003642..b57919a44e5f7da98957dcf431419cd57196cf0b 100644 (file)
@@ -1813,8 +1813,6 @@ int pa_cli_command_execute_file(pa_core *c, const char *fn, pa_strbuf *buf, pa_b
 
     ret = pa_cli_command_execute_file_stream(c, f, buf, fail);
 
-    ret = 0;
-
 fail:
     if (f)
         fclose(f);