mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-07 18:30:55 +03:00
0024848: CLang warnings -Wunused-value
Warning should be fixed.
This commit is contained in:
parent
a20983607c
commit
31249d1967
@ -2482,7 +2482,7 @@ static Standard_Integer OCC6143 (Draw_Interpretor& di, Standard_Integer argc, co
|
|||||||
Standard_Real res, r=RealLast();
|
Standard_Real res, r=RealLast();
|
||||||
res = r * r;
|
res = r * r;
|
||||||
|
|
||||||
sin(1.); //this function tests FPU flags and raises signal (tested on LINUX).
|
(void)sin(1.); //this function tests FPU flags and raises signal (tested on LINUX).
|
||||||
|
|
||||||
di << "-- "<<res<<"="<<r<<"*"<<r<<" Does not Caught... KO"<< "\n";
|
di << "-- "<<res<<"="<<r<<"*"<<r<<" Does not Caught... KO"<< "\n";
|
||||||
Succes = Standard_False;
|
Succes = Standard_False;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user