Zebediah Figura : d3dcompiler: Fix the location for a warning.
Alexandre Julliard
julliard at winehq.org
Tue Mar 24 15:28:17 CDT 2020
Module: wine
Branch: master
Commit: e0948524f2a1cf1f9bac4dbe0b0d051df14ef222
URL: https://source.winehq.org/git/wine.git/?a=commit;h=e0948524f2a1cf1f9bac4dbe0b0d051df14ef222
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Thu Mar 19 18:07:11 2020 -0500
d3dcompiler: Fix the location for a warning.
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Liam Middlebrook <lmiddlebrook at nvidia.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3dcompiler_43/hlsl.y | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3dcompiler_43/hlsl.y b/dlls/d3dcompiler_43/hlsl.y
index 4f5a7b1782..4c3e96caa0 100644
--- a/dlls/d3dcompiler_43/hlsl.y
+++ b/dlls/d3dcompiler_43/hlsl.y
@@ -1257,7 +1257,7 @@ struct_declaration: var_modifiers struct_spec variables_def_optional ';'
{
if (!$2->name)
{
- hlsl_report_message(get_location(&@1), HLSL_LEVEL_ERROR,
+ hlsl_report_message(get_location(&@2), HLSL_LEVEL_ERROR,
"anonymous struct declaration with no variables");
}
if (modifiers)
More information about the wine-cvs
mailing list