mshtml/tests: Remove duplicated const.

Michael Stefaniuc mstefani at redhat.de
Wed Oct 17 18:11:46 CDT 2007


REFIID is a macro and starts with 'const' thus giving a duplicated
const.
---
 dlls/mshtml/tests/dom.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c
index bf9f499..eb6c1c5 100644
--- a/dlls/mshtml/tests/dom.c
+++ b/dlls/mshtml/tests/dom.c
@@ -58,33 +58,33 @@ typedef enum {
     ET_OPTION
 } elem_type_t;
 
-static const REFIID none_iids[] = {
+static REFIID none_iids[] = {
     &IID_IUnknown,
     NULL
 };
 
-static const REFIID html_iids[] = {
+static REFIID html_iids[] = {
     &IID_IHTMLDOMNode,
     &IID_IHTMLElement,
     &IID_IHTMLElement2,
     NULL
 };
 
-static const REFIID head_iids[] = {
+static REFIID head_iids[] = {
     &IID_IHTMLDOMNode,
     &IID_IHTMLElement,
     &IID_IHTMLElement2,
     NULL
 };
 
-static const REFIID title_iids[] = {
+static REFIID title_iids[] = {
     &IID_IHTMLDOMNode,
     &IID_IHTMLElement,
     &IID_IHTMLElement2,
     NULL
 };
 
-static const REFIID body_iids[] = {
+static REFIID body_iids[] = {
     &IID_IHTMLDOMNode,
     &IID_IHTMLElement,
     &IID_IHTMLElement2,
@@ -93,7 +93,7 @@ static const REFIID body_iids[] = {
     NULL
 };
 
-static const REFIID anchor_iids[] = {
+static REFIID anchor_iids[] = {
     &IID_IHTMLDOMNode,
     &IID_IHTMLElement,
     &IID_IHTMLElement2,
@@ -101,7 +101,7 @@ static const REFIID anchor_iids[] = {
     NULL
 };
 
-static const REFIID input_iids[] = {
+static REFIID input_iids[] = {
     &IID_IHTMLDOMNode,
     &IID_IHTMLElement,
     &IID_IHTMLElement2,
@@ -110,7 +110,7 @@ static const REFIID input_iids[] = {
     NULL
 };
 
-static const REFIID select_iids[] = {
+static REFIID select_iids[] = {
     &IID_IHTMLDOMNode,
     &IID_IHTMLElement,
     &IID_IHTMLElement2,
@@ -118,7 +118,7 @@ static const REFIID select_iids[] = {
     NULL
 };
 
-static const REFIID textarea_iids[] = {
+static REFIID textarea_iids[] = {
     &IID_IHTMLDOMNode,
     &IID_IHTMLElement,
     &IID_IHTMLElement2,
@@ -126,7 +126,7 @@ static const REFIID textarea_iids[] = {
     NULL
 };
 
-static const REFIID option_iids[] = {
+static REFIID option_iids[] = {
     &IID_IHTMLDOMNode,
     &IID_IHTMLElement,
     &IID_IHTMLElement2,
-- 
1.5.3.4


-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
Sr. Network Engineer            Fax.: +49-711-96437-111
--------------------------------------------------------------------
Reg. Adresse: Red Hat GmbH, Hauptstätter Strasse 58, 70178 Stuttgart
Handelsregister: Amtsgericht Stuttgart HRB 153243
Geschäftsführer: Brendan Lane, Charlie Peters, Michael Cunningham,
                 Werner Knoblich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071018/9732b899/attachment.pgp 


More information about the wine-patches mailing list