You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-cvs@tcl.apache.org by ro...@apache.org on 2010/02/25 18:16:21 UTC
svn commit: r916353 - /tcl/websh/trunk/src/generic/logutl.c
Author: ronnie
Date: Thu Feb 25 17:16:21 2010
New Revision: 916353
URL: http://svn.apache.org/viewvc?rev=916353&view=rev
Log:
- proper initialization of res variable in logImpl
Modified:
tcl/websh/trunk/src/generic/logutl.c
Modified: tcl/websh/trunk/src/generic/logutl.c
URL: http://svn.apache.org/viewvc/tcl/websh/trunk/src/generic/logutl.c?rev=916353&r1=916352&r2=916353&view=diff
==============================================================================
--- tcl/websh/trunk/src/generic/logutl.c (original)
+++ tcl/websh/trunk/src/generic/logutl.c Thu Feb 25 17:16:21 2010
@@ -86,7 +86,7 @@
{
LogLevel *logLevel = NULL;
- int res;
+ int res = TCL_OK;
if ((logData == NULL) || (levelStr == NULL) || (msg == NULL))
return TCL_ERROR;
---------------------------------------------------------------------
To unsubscribe, e-mail: websh-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-cvs-help@tcl.apache.org