diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-12-29 17:22:10 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-12-29 17:22:10 +0100 |
commit | b95b85fee4a7c26bfbc2890ac3ff00cef5fa0388 (patch) | |
tree | 4c92fc8dd395fa0f8139723bc5deb22ed5dce579 /thread.c | |
parent | 63ee17701a51ae721a1d0b4517783d3ffba35f74 (diff) | |
download | vdr-b95b85fee4a7c26bfbc2890ac3ff00cef5fa0388.tar.gz vdr-b95b85fee4a7c26bfbc2890ac3ff00cef5fa0388.tar.bz2 |
Deleted a superfluous assignment in cPipe::Open()
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: thread.c 3.1 2013/04/10 15:37:32 kls Exp $ + * $Id: thread.c 3.2 2013/12/29 17:21:53 kls Exp $ */ #include "thread.h" @@ -494,7 +494,6 @@ bool cPipe::Open(const char *Command, const char *Mode) else { // child process int iofd = STDOUT_FILENO; if (strcmp(Mode, "w") == 0) { - mode = "r"; iopipe = 1; iofd = STDIN_FILENO; } |