diff options
author | nijtmans <nijtmans> | 2009-12-17 00:06:21 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-12-17 00:06:21 (GMT) |
commit | 15e0f5966f34c2f52d1c1e47bb557a651bbac414 (patch) | |
tree | 4962942f036bee174b8de4f4cf9bde8d867a9e7a /unix/tclUnixNotfy.c | |
parent | 97277dfce855c7a671727b156b87e086c8a87da9 (diff) | |
download | tcl-15e0f5966f34c2f52d1c1e47bb557a651bbac414.zip tcl-15e0f5966f34c2f52d1c1e47bb557a651bbac414.tar.gz tcl-15e0f5966f34c2f52d1c1e47bb557a651bbac414.tar.bz2 |
Fix gcc warning: ignoring return value of ‘write’,
declared with attribute warn_unused_result
Diffstat (limited to 'unix/tclUnixNotfy.c')
-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"); } } |