diff options
author | nijtmans <nijtmans@noemail.net> | 2009-12-17 00:06:20 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2009-12-17 00:06:20 (GMT) |
commit | 9ad0c7866988be2158369587d0d5ef5499b269f0 (patch) | |
tree | 4962942f036bee174b8de4f4cf9bde8d867a9e7a | |
parent | f45a3f6f787fc56d62aa97a0bc880cdfe7b08f68 (diff) | |
download | tcl-9ad0c7866988be2158369587d0d5ef5499b269f0.zip tcl-9ad0c7866988be2158369587d0d5ef5499b269f0.tar.gz tcl-9ad0c7866988be2158369587d0d5ef5499b269f0.tar.bz2 |
Fix gcc warning: ignoring return value of ‘write’,
declared with attribute warn_unused_result
FossilOrigin-Name: 295ac3225d83a651de5ed79ecaea808f75247f55
-rw-r--r-- | unix/tclUnixNotfy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c index 3be0bb9..e8860df 100644 --- a/unix/tclUnixNotfy.c +++ b/unix/tclUnixNotfy.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixNotfy.c,v 1.40 2009/12/16 23:26:00 nijtmans Exp $ + * RCS: @(#) $Id: tclUnixNotfy.c,v 1.41 2009/12/17 00:06:21 nijtmans Exp $ */ #include "tclInt.h" @@ -785,7 +785,7 @@ Tcl_WaitForEvent( tsdPtr->onList = 1; if (write(triggerPipe, "", 1) != 1) { - Tcl_Panic("Tcl_FinalizeNotifier: unable to write to triggerPipe"); + Tcl_Panic("Tcl_WaitForEvent: unable to write to triggerPipe"); } } @@ -817,7 +817,7 @@ Tcl_WaitForEvent( tsdPtr->nextPtr = tsdPtr->prevPtr = NULL; tsdPtr->onList = 0; if (write(triggerPipe, "", 1) != 1) { - Tcl_Panic("Tcl_FinalizeNotifier: unable to write to triggerPipe"); + Tcl_Panic("Tcl_WaitForEvent: unable to write to triggerPipe"); } } |