diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-02-24 20:40:02 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-02-24 20:40:02 +0000 |
commit | a8630432c903486b2b060208e84b044fb5c55d7e (patch) | |
tree | 9a15962b0b9b71a60d32f53403c70ab61c913bc2 /main/asterisk.c | |
parent | d2fb14e26cfb2a854c94708da9944f1feef42261 (diff) |
The 3 possible errors with pipe(2) are all impossible in this situation.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@178375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/asterisk.c')
-rw-r--r-- | main/asterisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/asterisk.c b/main/asterisk.c index 0c001c97d..4f86372d7 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -3302,7 +3302,7 @@ int main(int argc, char *argv[]) int cpipe[2]; /* PIPE signal ensures that astcanary dies when Asterisk dies */ - pipe(cpipe); + (void) pipe(cpipe); canary_pipe = cpipe[0]; snprintf(canary_filename, sizeof(canary_filename), "%s/alt.asterisk.canary.tweet.tweet.tweet", ast_config_AST_RUN_DIR); |