From 954c09f6da9bf7108788d285382c75184974d30e Mon Sep 17 00:00:00 2001 From: Ned Ludd Date: Sun, 4 Nov 2007 10:13:48 +0000 Subject: initialize s --- src/rc-logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rc-logger.c b/src/rc-logger.c index fa3303c2..8bf86512 100644 --- a/src/rc-logger.c +++ b/src/rc-logger.c @@ -117,7 +117,7 @@ void rc_logger_open (const char *level) struct winsize ws; char *buffer; fd_set rset; - int s; + int s = 0; size_t bytes; int selfd; int i; -- cgit v1.2.3