[quake3-bugzilla] [Bug 3782] Fix compile time warnings (code/server/)

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Mon Sep 14 23:51:36 EDT 2009


http://bugzilla.icculus.org/show_bug.cgi?id=3782

--- Comment #3 from Patrick Baggett <baggett.patrick at gmail.com> 2009-09-14 23:51:34 EDT ---
Thanks! There are still many unused variable warnings in IOQ3, though. Maybe
some day I'll get around to submitting another patch to fix another tree!

Patrick

(In reply to comment #2)
> This one...
> 
> -        angles = hit->s.angles;
> -        if ( !hit->r.bmodel ) {
> -            angles = vec3_origin;    // boxes don't rotate
> -        }
> 
>          c2 = CM_TransformedPointContents (p, clipHandle, hit->s.origin,
> hit->s.angles);
> 
> ... looks like the original code meant to use angles in that function call
> instead of hit->s.angles. I don't know if that's true or not.
> 
> The CM_LeafArea() calls can go (no side effects in there). This is svn revision
> #1611, now.
> 
> SV_IsBanned() looks like it's already been cleaned up in svn.
> 
> 
> The rest is cleaned up in svn revision #1612.
> 
> --ryan.

-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list