From: havoc Date: Mon, 22 Nov 2004 20:24:57 +0000 (+0000) Subject: fixed an uninitialized variable warning X-Git-Tag: xonotic-v0.1.0preview~5354 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6c679addfd75a707320b03d008115bb8864d80a7;p=xonotic%2Fdarkplaces.git fixed an uninitialized variable warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4782 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host_cmd.c b/host_cmd.c index df867c23..d3fcd5f6 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -638,6 +638,7 @@ void Host_Loadgame_f (void) entnum = -1; for (;;) { + r = EOF; for (i = 0;i < (int)sizeof(buf) - 1;i++) { r = FS_Getc (f);