]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
shut up a (in this case wrong) warning about possibly uninitialized variable
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 27 Feb 2010 18:02:50 +0000 (18:02 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 27 Feb 2010 18:02:50 +0000 (18:02 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10023 d7cf8633-e32d-0410-b094-e92efae38249

sys_shared.c

index 43fda3c9f1fe12151619f4849cc070318e083240..a787038d5845295112a39ceee8132fa22aa2dc0f 100644 (file)
@@ -374,7 +374,7 @@ double Sys_DoubleTime(void)
 
 void Sys_Sleep(int microseconds)
 {
-       double t;
+       double t = 0;
        if(sys_usenoclockbutbenchmark.integer)
        {
                benchmark_time += microseconds;