From 9c5b6e7d1512400a13db83c1fe3d42be439526b6 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 14 Jan 2009 13:30:51 +0000 Subject: [PATCH] (trunk libT) #1698: RunTime Check failure --- libtransmission/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/session.c b/libtransmission/session.c index 1f6768287..a50ff7b0d 100644 --- a/libtransmission/session.c +++ b/libtransmission/session.c @@ -1402,7 +1402,7 @@ tr_sessionSetProxyPassword( tr_session * session, int tr_sessionGetActiveTorrentCount( tr_session * session ) { - int ret; + int ret = 0; tr_torrent * tor = NULL; while(( tor = tr_torrentNext( session, tor )))