fix some complier warnings and add -Wundef to CMake's default GCC warnings.
[blender.git] / source / blender / blenkernel / intern / node.c
index 6f34383101d52c24bf83bddf552d494f588dbeaf..481893b86a8e5b69de669aa4746591c5335c65f6 100644 (file)
@@ -158,7 +158,7 @@ void ntreeInitTypes(bNodeTree *ntree)
        ntree->init |= NTREE_TYPE_INIT;
 }
 
-static bNodeSocket *make_socket(bNodeTree *ntree, int in_out, const char *name, int type)
+static bNodeSocket *make_socket(bNodeTree *UNUSED(ntree), int in_out, const char *name, int type)
 {
        bNodeSocketType *stype= ntreeGetSocketType(type);
        bNodeSocket *sock;