msxml3/tests: Remove unused code (Clang).

This commit is contained in:
André Hentschel 2014-12-01 22:58:01 +01:00 committed by Alexandre Julliard
parent 099514e753
commit 1463325797
2 changed files with 2 additions and 14 deletions

View File

@ -408,11 +408,6 @@ static const WCHAR szComplete1[] = {
'<','o','p','e','n','>','<','/','o','p','e','n','>','\n',0
};
static const WCHAR szComplete2[] = {
'<','?','x','m','l',' ',
'v','e','r','s','i','o','n','=','\'','1','.','0','\'','?','>','\n',
'<','o','>','<','/','o','>','\n',0
};
static const WCHAR szComplete3[] = {
'<','?','x','m','l',' ',
'v','e','r','s','i','o','n','=','\'','1','.','0','\'','?','>','\n',
'<','a','>','<','/','a','>','\n',0
@ -1368,7 +1363,7 @@ if (0)
/* try to load something else simple and valid */
b = VARIANT_FALSE;
str = SysAllocString( szComplete3 );
str = SysAllocString( szComplete2 );
r = IXMLDOMDocument_loadXML( doc, str, &b );
ok( r == S_OK, "loadXML failed\n");
ok( b == VARIANT_TRUE, "failed to load XML string\n");

View File

@ -310,13 +310,6 @@ static inline void flush_sequence(struct call_sequence **seg, int sequence_index
call_seq->count = call_seq->size = 0;
}
static inline void flush_sequences(struct call_sequence **seq, int n)
{
int i;
for (i = 0; i < n; i++)
flush_sequence(seq, i);
}
static const char *get_event_name(CH event)
{
return event_names[event];
@ -2895,7 +2888,7 @@ static void test_mxwriter_handlers(void)
HRESULT hr;
int i;
static const REFIID riids[] =
static REFIID riids[] =
{
&IID_ISAXContentHandler,
&IID_ISAXLexicalHandler,