Tomaz cleaned up some double ;; lines (strange stuff)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 20 May 2004 19:29:04 +0000 (19:29 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 20 May 2004 19:29:04 +0000 (19:29 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4203 d7cf8633-e32d-0410-b094-e92efae38249

curves.c
model_brush.c
snd_win.c

index a94dc71..835be2c 100644 (file)
--- a/curves.c
+++ b/curves.c
@@ -221,7 +221,7 @@ void QuadraticSplinePatchSubdivideFloatBuffer(int cpwidth, int cpheight, int xle
                                                // fetch next control point
                                                next = out[((y + ystep) * outwidth + x) * components + c];
                                                // flatten central control point 
-                                               out[(y * outwidth + x) * components + c] = (curr + (prev + next) * 0.5f) * 0.5f;;
+                                               out[(y * outwidth + x) * components + c] = (curr + (prev + next) * 0.5f) * 0.5f;
                                                // create following midpoint
                                                out[((y + halfstep) * outwidth + x) * components + c] = (curr + next) * 0.5f;
                                        }
@@ -244,7 +244,7 @@ void QuadraticSplinePatchSubdivideFloatBuffer(int cpwidth, int cpheight, int xle
                                // fetch next control point 
                                next = out[(y * outwidth + (x + xstep)) * components + c];
                                // flatten central control point 
-                               out[(y * outwidth + x) * components + c] = (curr + (prev + next) * 0.5f) * 0.5f;;
+                               out[(y * outwidth + x) * components + c] = (curr + (prev + next) * 0.5f) * 0.5f;
                        }
                }
        }
@@ -262,7 +262,7 @@ void QuadraticSplinePatchSubdivideFloatBuffer(int cpwidth, int cpheight, int xle
                                // fetch next control point 
                                next = out[((y + ystep) * outwidth + x) * components + c];
                                // flatten central control point 
-                               out[(y * outwidth + x) * components + c] = (curr + (prev + next) * 0.5f) * 0.5f;;
+                               out[(y * outwidth + x) * components + c] = (curr + (prev + next) * 0.5f) * 0.5f;
                        }
                }
        }
index 60186d5..83cafe4 100644 (file)
@@ -95,7 +95,7 @@ static void Mod_Q1BSP_AmbientSoundLevelsForPoint(model_t *model, const vec3_t p,
        leaf = Mod_Q1BSP_PointInLeaf(model, p);
        if (leaf)
        {
-               i = min(outsize, (int)sizeof(leaf->ambient_sound_level));;
+               i = min(outsize, (int)sizeof(leaf->ambient_sound_level));
                if (i)
                {
                        memcpy(out, leaf->ambient_sound_level, i);
index bea76b5..0fec464 100644 (file)
--- a/snd_win.c
+++ b/snd_win.c
@@ -566,7 +566,7 @@ qboolean SNDDMA_Init(void)
        {
                if (snd_firsttime || snd_isdirect)
                {
-                       stat = SNDDMA_InitDirect ();;
+                       stat = SNDDMA_InitDirect ();
 
                        if (stat == SIS_SUCCESS)
                        {