dlls/wined3d/drawprim.c warnings

Gerald Pfeifer pfeifer at dbai.tuwien.ac.at
Fri Jul 22 01:43:29 CDT 2005


I'm currently seeing the following, new warnings for 
dlls/wined3d/drawprim.c:

  drawprim.c: In function `primitiveConvertToStridedData':
  drawprim.c:540: warning: unused variable `canDoViaGLPointers'
  drawprim.c: At top level:
  drawprim.c:702: warning: `draw_vertex' defined but not used

The former is fixed by the patch below (the variable not being used 
anywhere).

The latter has been introduced by the following cleanup patch:

  revision 1.16
  date: 2005/07/14 12:19:53;  author: julliard;  state: Exp;  lines: +9 -9
  Stefan Huehner <stefan at huehner.org>
  Fix some missing-declarations warnings.

Gerald

ChangeLog:
Remove unused variable in primitiveConvertToStridedData().
Index: drawprim.c
===================================================================
RCS file: /home/wine/wine/dlls/wined3d/drawprim.c,v
retrieving revision 1.19
diff -u -3 -p -r1.19 drawprim.c
--- drawprim.c	21 Jul 2005 11:01:19 -0000	1.19
+++ drawprim.c	22 Jul 2005 06:41:51 -0000
@@ -537,7 +537,6 @@ static void primitiveConvertToStridedDat
 
     short         LoopThroughTo = 0;
     short         nStream;
-    BOOL          canDoViaGLPointers = TRUE;
     int           numBlends;
     int           numTextures;
     int           textureNo;



More information about the wine-patches mailing list