mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-21 07:22:16 +08:00
0025582: SIGSEGV in thrusections of circle segments
Eliminating regressions
Fixed compilation warning ('di' : unreferenced formal parameter).
Added test bugs/modalg_5/bug25578
This commit is contained in:
@@ -137,7 +137,7 @@ static Standard_Integer samerange (Draw_Interpretor& /*di*/, Standard_Integer n,
|
||||
//purpose : Changes a weight of a pole on B-spline curve/surface
|
||||
//=======================================================================
|
||||
|
||||
static Standard_Integer setweight(Draw_Interpretor& di, Standard_Integer n, const char** a)
|
||||
static Standard_Integer setweight(Draw_Interpretor& /*di*/, Standard_Integer n, const char** a)
|
||||
{
|
||||
if (n < 4 || n > 5)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user