Merge pull request #170 from f3nix/gcc-warnings-2
Fix some GCC warnings.
This commit is contained in:
commit
711213d58e
|
@ -197,17 +197,8 @@
|
|||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
<zorder>layoutWidget</zorder>
|
||||
<zorder>minimum</zorder>
|
||||
<zorder>maximum</zorder>
|
||||
<zorder>Slider</zorder>
|
||||
<zorder>line</zorder>
|
||||
<zorder>minimum</zorder>
|
||||
<zorder>maximum</zorder>
|
||||
<zorder></zorder>
|
||||
<zorder>InsideOut</zorder>
|
||||
<zorder>horizontalSpacer</zorder>
|
||||
<zorder></zorder>
|
||||
<zorder>line_2</zorder>
|
||||
</widget>
|
||||
<resources/>
|
||||
|
|
|
@ -250,7 +250,7 @@ PyObject* AttachEnginePy::getModeInfo(PyObject* args)
|
|||
refTypeStringList &listOfCombinations = attacher.modeRefTypes.at(mmode);
|
||||
for(const refTypeString &combination: listOfCombinations){
|
||||
pyCombination = Py::List(combination.size());
|
||||
for(int iref = 0 ; iref < combination.size() ; iref++){
|
||||
for(std::size_t iref = 0; iref < combination.size(); iref++) {
|
||||
pyCombination[iref] = Py::String(AttachEngine::getRefTypeName(combination[iref]));
|
||||
}
|
||||
pyListOfCombinations.append(pyCombination);
|
||||
|
|
|
@ -158,7 +158,7 @@ const char* AttachEngine::eRefTypeStrings[]= {
|
|||
TYPESYSTEM_SOURCE_ABSTRACT(Attacher::AttachEngine, Base::BaseClass);
|
||||
|
||||
AttachEngine::AttachEngine()
|
||||
: mapReverse(false), attachParameter(0.0), mapMode(mmDeactivated),
|
||||
: mapMode(mmDeactivated), mapReverse(false), attachParameter(0.0),
|
||||
surfU(0.0), surfV(0.0)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user