Changeset 234 for cpp


Ignore:
Timestamp:
04/30/14 04:11:05 (11 years ago)
Author:
sz
Message:

Trivial changes to avoid compilation warnings about missing return values (might be incorrect)

Location:
cpp/frams/model/geometry
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/geometry/geometryutils.cpp

    r193 r234  
    8282                        break;
    8383        }
     84        return false;
    8485}
    8586
     
    100101                        break;
    101102        }
     103        return false;
    102104}
    103105
  • cpp/frams/model/geometry/meshbuilder.cpp

    r193 r234  
    2121{
    2222        density = _density;
     23        return density;
    2324}
    2425
     
    787788        ModelGeometryInfo::boundingBox(model, lowerBoundary, upperBoundary);
    788789        initialize(lowerBoundary, upperBoundary);
     790        return true;
    789791}
    790792
     
    802804       
    803805        volume = Segment(density);
     806        return true;
    804807}
    805808
  • cpp/frams/model/geometry/modelgeometryinfo.cpp

    r193 r234  
    108108                        return externalAreaOfCylinder(model, partIndex, density);
    109109        }
     110        return 0;
    110111}
    111112
Note: See TracChangeset for help on using the changeset viewer.