Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1f95423

Browse files
authored
Merge pull request #9270 from QuLogic/cpp-warnings
MNT: Fix C++ warnings
2 parents b392d46 + 7d2a06c commit 1f95423

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/_path.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -904,8 +904,6 @@ bool path_intersects_rectangle(PathIterator &path,
904904

905905
double cx = (rect_x1 + rect_x2) * 0.5, cy = (rect_y1 + rect_y2) * 0.5;
906906
double w = fabs(rect_x1 - rect_x2), h = fabs(rect_y1 - rect_y2);
907-
double xmin = std::min(rect_x1, rect_x2), xmax = std::max(rect_x1, rect_x2);
908-
double ymin = std::min(rect_x1, rect_x2), ymax = std::max(rect_x1, rect_x2);
909907

910908
double x1, y1, x2, y2;
911909

src/path_converters.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,8 +841,8 @@ class PathSimplifier : protected EmbeddedQueue<9>
841841

842842
bool m_moveto;
843843
bool m_after_moveto;
844-
double m_lastx, m_lasty;
845844
bool m_clipped;
845+
double m_lastx, m_lasty;
846846

847847
double m_origdx;
848848
double m_origdy;

0 commit comments

Comments
 (0)