agg: trans_double_path::reset(): reset m_kindex2
Fix PVS V519 Pointed out in PVS-Studio blog https://medium.com/pvs-studio/best-copy-paste-algorithms-for-c-and-c-haiku-os-cookbook-8e15876d2547 Change-Id: Ie6b9ae42f246bf201e30d19968a502268e80fe6d Reviewed-on: https://review.haiku-os.org/c/haiku/+/2116 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
35e9e7c3eb
commit
450f71e21e
@@ -38,7 +38,7 @@ namespace agg
|
||||
m_src_vertices1.remove_all();
|
||||
m_src_vertices2.remove_all();
|
||||
m_kindex1 = 0.0;
|
||||
m_kindex1 = 0.0;
|
||||
m_kindex2 = 0.0;
|
||||
m_status1 = initial;
|
||||
m_status2 = initial;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user