Opened 10 years ago

Closed 10 years ago

#7802 closed Patches (fixed)

[geometry] cart_intersect.hpp unused parameter warnings

Reported by: ATHundt@… Owned by: Barend Gehrels
Milestone: Boost 1.54.0 Component: geometry
Version: Boost 1.52.0 Severity: Cosmetic
Keywords: Cc:

Description

When building software that uses boost.geometry for cart_intersect I get the following warning: /boost/geometry/strategies/cartesian/cart_intersect.hpp:406: warning: unused parameter ‘a’ /boost/geometry/strategies/cartesian/cart_intersect.hpp:406: warning: unused parameter ‘b’

It would be appreciated if these warnings could be resolved.

Attachments (1)

cart_intersect_warning.patch (1.2 KB ) - added by Andrew Hundt <ATHundt@…> 10 years ago.
patch to fix cart_intersect_warning, presuming the warning is not due to a bug in the function implementation

Download all attachments as: .zip

Change History (3)

by Andrew Hundt <ATHundt@…>, 10 years ago

patch to fix cart_intersect_warning, presuming the warning is not due to a bug in the function implementation

comment:1 by Barend Gehrels, 10 years ago

Type: BugsPatches

comment:2 by Barend Gehrels, 10 years ago

Milestone: To Be DeterminedBoost 1.54.0
Resolution: fixed
Status: newclosed

That piece of code was actually not used, it is commented now. To be decided. More (similar) warnings are silenced.

Thanks for the patch, sorry it take longer to apply it.

Note: See TracTickets for help on using tickets.