message: Static analysis fixes
  Clarify null checks for ColorManagementSystemPtr and UnitSystemPtr arguments in shader generation.
diff: @@ -260,11 +260,15 @@ void ShaderGraph::addDefaultGeomNode(ShaderInput* input, const GeomPropDef& geom
  void ShaderGraph::addColorTransformNode(ShaderInput* input, const ColorSpaceTransform& transform, GenContext& context)
  {
  + if (input->getConnection() && !input->isBindInput())
  + {
  + // Ignore connected inputs, which are unaffected by color space bindings.
  + return;
  + }
  +
  ColorManagementSystemPtr colorManagementSystem = context.getShaderGenerator().getColorManagementSystem();
  - if (!input->isBindInput() && (!colorManagementSystem || input->getConnection()))
  + if (!colorManagementSystem)
  {
  - // Ignore unbound inputs with connections as they are not
  - // allowed to have colorspaces specified.
  return;
  }
  const string colorTransformNodeName = input->getFullName() + "_cm";
  @@ -326,8 +330,14 @@ void ShaderGraph::addColorTransformNode(ShaderOutput* output, const ColorSpaceTr
  void ShaderGraph::addUnitTransformNode(ShaderInput* input, const UnitTransform& transform, GenContext& context)
  {
  + if (input->getConnection() && !input->isBindInput())
  + {
  + // Ignore connected inputs, which are unaffected by unit bindings.
  + return;
  + }
  +
  UnitSystemPtr unitSystem = context.getShaderGenerator().getUnitSystem();
  - if (!input->isBindInput() && (!unitSystem || input->getConnection()))
  + if (!unitSystem)
  {
  return;
  }
  