jhasse / poly2tri

2D constrained Delaunay triangulation library
BSD 3-Clause "New" or "Revised" License
436 stars 89 forks source link

(void) comments; #3

Closed sovietspaceship2 closed 6 years ago

sovietspaceship2 commented 7 years ago

https://github.com/jhasse/poly2tri/blob/master/poly2tri/sweep/sweep_context.cc#L126 What's the point of passing nodes if unused, and silencing the compiler about it? Unimplemented feature? What feature? Should be documented.

jhasse commented 7 years ago

Yes, it's to silence the unused-parameter warning.

I don't know though why it isn't used as I didn't write that code.