projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0023934: Compiler warnings in MS VC++ 10
[occt.git]
/
src
/
BSplCLib
/
BSplCLib_2.cxx
diff --git
a/src/BSplCLib/BSplCLib_2.cxx
b/src/BSplCLib/BSplCLib_2.cxx
index
3d44967
..
0fde438
100755
(executable)
--- a/
src/BSplCLib/BSplCLib_2.cxx
+++ b/
src/BSplCLib/BSplCLib_2.cxx
@@
-45,6
+45,7
@@
struct BSplCLib_DataContainer
{
BSplCLib_DataContainer(Standard_Integer Degree)
{
+ (void)Degree; // avoid compiler warning
Standard_OutOfRange_Raise_if (Degree > BSplCLib::MaxDegree() ||
BSplCLib::MaxDegree() > 25,
"BSplCLib: bspline degree is greater than maximum supported");