1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0024284: Some trivial warnings produced by ICC 14

Eliminated ICC 14 warnings:
# 82: storage class is not first (e.g. "int static f()"
# 2621: attribute "dllexport" does not apply here (e.g. "Standard_EXPORT typedef int qqint;")
# 2415: variable "..." of static storage duration was declared but never referenced
# 111: statement is unreachable (usually "break" after "return" in cycles)
This commit is contained in:
abv
2013-10-24 09:22:29 +04:00
committed by bugmaster
parent 9447f91258
commit f24125b9e5
35 changed files with 30 additions and 111 deletions

View File

@@ -2136,18 +2136,15 @@ static Standard_Boolean disjPerformCommon(const TopTools_IndexedMapOfShape& theM
switch (ires) {
case RESNULL: {
continue;
break;
}
case RESSHAPE12 : {
aMapOfCommonOfCouple.Add(sol1);
aMapOfCommonOfCouple.Add(sol2);
continue;
break;
}
case RESSHAPE1 : {
aMapOfCommonOfCouple.Add(sol1);
continue;
break;
}
case RESSHAPE2 : {
aMapOfCommonOfCouple.Add(sol2);