Skip to content

Commit 8620de6

Browse files
committed
fix compiler warning
1 parent eb8f538 commit 8620de6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/agg/include/agg/agg_gradient_lut.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ namespace agg
219219
{
220220
unsigned i;
221221
unsigned start = uround(m_color_profile[0].offset * int(color_lut_size));
222-
unsigned end;
222+
unsigned end = 0;
223223
color_type c = m_color_profile[0].color;
224224
for(i = 0; i < start; i++)
225225
{

0 commit comments

Comments
 (0)