Changeset 17099


Ignore:
Timestamp:
01/10/14 19:41:14 (11 years ago)
Author:
Mathieu Morlighem
Message:

BUG: do not return, just break

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/PentaRef.cpp

    r17097 r17099  
    12471247                        indices[1] = 1;
    12481248                        indices[2] = 2;
    1249                         return;
     1249                        break;
    12501250                case P1bubbleEnum: case P1bubblecondensedEnum:
    12511251                        numindices = 3;
     
    12541254                        indices[1] = 1;
    12551255                        indices[2] = 2;
    1256                         return;
     1256                        break;
    12571257                case P2xP1Enum:
    12581258                        numindices = 6;
     
    12641264                        indices[4] = 7;
    12651265                        indices[5] = 8;
    1266                         return;
     1266                        break;
    12671267                case P1xP2Enum:
    12681268                        numindices = 3;
     
    12711271                        indices[1] = 1;
    12721272                        indices[2] = 2;
    1273                         return;
     1273                        break;
    12741274                case P1xP3Enum:
    12751275                        numindices = 3;
     
    12781278                        indices[1] = 1;
    12791279                        indices[2] = 2;
    1280                         return;
     1280                        break;
    12811281                case P2Enum:
    12821282                        numindices = 6;
     
    12881288                        indices[4] = 10;
    12891289                        indices[5] = 11;
    1290                         return;
     1290                        break;
    12911291                case P2xP4Enum:
    12921292                        numindices = 6;
     
    12981298                        indices[4] = 10;
    12991299                        indices[5] = 11;
    1300                         return;
     1300                        break;
    13011301                default:
    13021302                        _error_("Element type "<<EnumToStringx(this->element_type)<<" not supported yet");
Note: See TracChangeset for help on using the changeset viewer.