remove unused structs and defines
authorMartin Kaiser <wireshark@kaiser.cx>
Tue, 16 Apr 2013 20:53:24 +0000 (20:53 -0000)
committerMartin Kaiser <wireshark@kaiser.cx>
Tue, 16 Apr 2013 20:53:24 +0000 (20:53 -0000)
(the unnamed union caused a compiler warning on fedora 14)

svn path=/trunk/; revision=48886

epan/dissectors/packet-spice.c

index d9fa383263cb43c89aa7044701b37d0c10408e52..fb9e9955b65ac6cf2d62da00fb7baf402a0d63bc 100644 (file)
@@ -654,34 +654,11 @@ static const value_string brush_types_vs[] = {
     { 0, NULL }
 };
 
-typedef struct {
-    guint64   image;
-    point32_t position;
-} Pattern;
-
-#define sizeof_Pattern 16
-
-typedef struct {
-    guint8 type;
-    union {
-        guint32 color;
-        Pattern patten;
-    };
-} Brush;
-
-#define sizeof_Brush 17 /* for pattern */
-
 static const value_string Mask_flags_vs[] = {
     { 0, "MASK_FLAG_INVERS" },
     { 0, NULL }
 };
 
-typedef struct {
-    guint8    flags;
-    point32_t position;
-    guint32   bitmap;
-} Mask;
-
 #define sizeof_Mask 13
 
 static const value_string scale_mode_vs[] = {
@@ -690,14 +667,6 @@ static const value_string scale_mode_vs[] = {
     { 0, NULL }
 };
 
-typedef struct {
-    guint64 id;
-    guint8  type;
-    guint8  flag;
-    guint32 width;
-    guint32 height;
-} ImageDescriptor;
-
 #define sizeof_ImageDescriptor 18
 
 #define IMAGE_TYPE_BITMAP                 0