[Bf-blender-cvs] [6c317fb] gooseberry: Don't re-typedef structure in wm_types.h

Sergey Sharybin noreply at git.blender.org
Wed Mar 4 14:14:41 CET 2015


Commit: 6c317fbcb9e2d68e51bee5ce308ec818522df48c
Author: Sergey Sharybin
Date:   Wed Mar 4 18:13:58 2015 +0500
Branches: gooseberry
https://developer.blender.org/rB6c317fbcb9e2d68e51bee5ce308ec818522df48c

Don't re-typedef structure in wm_types.h

This makes strict compilers to give quite a few of warnings.

===================================================================

M	source/blender/windowmanager/WM_types.h

===================================================================

diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h
index 5204e9d..b670552 100644
--- a/source/blender/windowmanager/WM_types.h
+++ b/source/blender/windowmanager/WM_types.h
@@ -672,7 +672,6 @@ typedef struct wmDropBox {
 typedef struct wmWidget wmWidget;
 typedef struct wmWidgetGroup wmWidgetGroup;
 typedef struct wmWidgetMapType wmWidgetMapType;
-typedef struct wmWidgetGroupType wmWidgetGroupType;
 
 /* factory class for a widgetgroup type, gets called every time a new area is spawned */
 typedef struct wmWidgetGroupType {




More information about the Bf-blender-cvs mailing list