Skip to content

Commit 4973285

Browse files
Update container.c
1 parent 62fc41c commit 4973285

1 file changed

Lines changed: 0 additions & 29 deletions

File tree

modules/rostests/winetests/dxdiagn/container.c

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -42,35 +42,6 @@ static const WCHAR DxDiag_SoundCaptureDevices[] = {'D','x','D','i','a','g','_','
4242
'D','x','D','i','a','g','_','S','o','u','n','d','C','a','p','t','u','r','e',
4343
'D','e','v','i','c','e','s',0};
4444

45-
/* Based on debugstr_variant in dlls/jscript/jsutils.c. */
46-
static const char *debugstr_variant(const VARIANT *var)
47-
{
48-
static char buf[400];
49-
50-
if (!var)
51-
return "(null)";
52-
53-
switch (V_VT(var))
54-
{
55-
case VT_EMPTY:
56-
return "{VT_EMPTY}";
57-
case VT_BSTR:
58-
sprintf(buf, "{VT_BSTR: %s}", wine_dbgstr_w(V_BSTR(var)));
59-
break;
60-
case VT_BOOL:
61-
sprintf(buf, "{VT_BOOL: %x}", V_BOOL(var));
62-
break;
63-
case VT_UI4:
64-
sprintf(buf, "{VT_UI4: %u}", V_UI4(var));
65-
break;
66-
default:
67-
sprintf(buf, "{vt %d}", V_VT(var));
68-
break;
69-
}
70-
71-
return buf;
72-
}
73-
7445
static BOOL create_root_IDxDiagContainer(void)
7546
{
7647
HRESULT hr;

0 commit comments

Comments
 (0)