From 4765b94617414fb3994c4f1401cca36d0fae46eb Mon Sep 17 00:00:00 2001 From: nijtmans Date: Thu, 17 Dec 2009 00:06:21 +0000 Subject: =?UTF-8?q?Fix=20gcc=20warning:=20ignoring=20return=20value=20of?= =?UTF-8?q?=20=E2=80=98write=E2=80=99,=20declared=20with=20attribute=20war?= =?UTF-8?q?n=5Funused=5Fresult?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unix/tclUnixNotfy.c | 6 +++--- 1 file 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"); } } -- cgit v0.12