diff options
author | nyamatongwe <devnull@localhost> | 2000-04-07 12:04:36 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-04-07 12:04:36 +0000 |
commit | 9785733416ef26d325802b81692f6fdc3506be55 (patch) | |
tree | 337dc33f1d022c7a460caf1e607bac12fe6e7b61 /src/LineMarker.cxx | |
parent | 8cb3d80031a74c832b8a006562a9ef010f2cbe5e (diff) | |
download | scintilla-mirror-9785733416ef26d325802b81692f6fdc3506be55.tar.gz |
Changing code to ensure no warnings are produced by compilers.
Diffstat (limited to 'src/LineMarker.cxx')
-rw-r--r-- | src/LineMarker.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/LineMarker.cxx b/src/LineMarker.cxx index 9afccb822..f54978c3f 100644 --- a/src/LineMarker.cxx +++ b/src/LineMarker.cxx @@ -51,20 +51,6 @@ void LineMarker::Draw(Surface *surface, PRectangle &rc) { } else if (markType == SC_MARK_PLUS) { int armSize = dimOn2-2; - Point xpts[] = { - Point(centreX - armSize, centreY), - Point(centreX, centreY), - Point(centreX, centreY - armSize), - Point(centreX, centreY - armSize), - Point(centreX, centreY), - Point(centreX + armSize, centreY), - Point(centreX + armSize, centreY), - Point(centreX, centreY), - Point(centreX, centreY + armSize), - Point(centreX, centreY + armSize), - Point(centreX, centreY), - Point(centreX - armSize, centreY), - }; Point pts[] = { Point(centreX - armSize, centreY - 1), Point(centreX - 1, centreY - 1), @@ -90,12 +76,6 @@ void LineMarker::Draw(Surface *surface, PRectangle &rc) { Point(centreX + armSize, centreY +1), Point(centreX - armSize, centreY + 1), }; - Point xpts[] = { - Point(centreX - armSize, centreY), - Point(centreX + armSize, centreY), - Point(centreX + armSize, centreY), - Point(centreX - armSize, centreY), - }; surface->Polygon(pts, sizeof(pts) / sizeof(pts[0]), fore.allocated, back.allocated); |