Commit 3fa5ebd0 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite: Remove useless assignment (Coverity).

parent 2626f80b
...@@ -1485,7 +1485,6 @@ static BOOL is_same_u_splitting(struct layout_underline_splitting_params *left, ...@@ -1485,7 +1485,6 @@ static BOOL is_same_u_splitting(struct layout_underline_splitting_params *left,
static HRESULT layout_add_underline(struct dwrite_textlayout *layout, struct layout_effective_run *first, static HRESULT layout_add_underline(struct dwrite_textlayout *layout, struct layout_effective_run *first,
struct layout_effective_run *last) struct layout_effective_run *last)
{ {
struct layout_underline_splitting_params params, prev_params;
struct layout_effective_run *cur; struct layout_effective_run *cur;
DWRITE_FONT_METRICS metrics; DWRITE_FONT_METRICS metrics;
FLOAT thickness, offset; FLOAT thickness, offset;
...@@ -1517,8 +1516,8 @@ static HRESULT layout_add_underline(struct dwrite_textlayout *layout, struct lay ...@@ -1517,8 +1516,8 @@ static HRESULT layout_add_underline(struct dwrite_textlayout *layout, struct lay
} }
cur = first; cur = first;
prev_params = params;
do { do {
struct layout_underline_splitting_params params, prev_params;
struct layout_effective_run *next, *w; struct layout_effective_run *next, *w;
struct layout_underline *u; struct layout_underline *u;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment