minor fixes

- new compositor could use uninitialized var
- profile conversion could use uninitialized var
- set better warnings for clang+cmake.
- remove picky warnings from sphinx doc gen shell script.
This commit is contained in:
Campbell Barton
2012-06-11 12:13:41 +00:00
parent 71a7fb6286
commit 5248ec57d9
5 changed files with 62 additions and 38 deletions

View File

@@ -1,5 +1,6 @@
import bpy
def main(operator, context):
space = context.space_data
node_tree = space.node_tree
@@ -14,7 +15,7 @@ def main(operator, context):
return
node_other, = node_selected
# now we have 2 nodes to operate on
if not node_active.inputs:
operator.report({'ERROR'}, "Active node has no inputs")