From ec199c9e0eaf9af6db04e89da152f4b325c1f41c Mon Sep 17 00:00:00 2001 From: Paul Gofman Date: Wed, 19 Jul 2017 16:43:04 +0300 Subject: [PATCH] d3dx9: Remove case for annotation in get_parameter_element_by_name(). Elements or struct members can't have annotations. Signed-off-by: Paul Gofman Signed-off-by: Matteo Bruni Signed-off-by: Alexandre Julliard --- dlls/d3dx9_36/effect.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/d3dx9_36/effect.c b/dlls/d3dx9_36/effect.c index 5361b352727..937536ae84f 100644 --- a/dlls/d3dx9_36/effect.c +++ b/dlls/d3dx9_36/effect.c @@ -830,9 +830,6 @@ static struct d3dx_parameter *get_parameter_element_by_name(struct d3dx_paramete case '.': return get_parameter_by_name(NULL, temp_parameter, part); - case '@': - return get_annotation_by_name(temp_parameter->annotation_count, temp_parameter->annotations, part); - case '\0': TRACE("Returning parameter %p\n", temp_parameter); return temp_parameter;