fix some complier warnings and add -Wundef to CMake's default GCC warnings.
[blender.git] / source / blender / editors / space_node / node_edit.c
index 214f375855db9df854946df4948c373bc01d37d1..b5633d509979f2764defcc44432710b277e0cac9 100644 (file)
@@ -2175,7 +2175,6 @@ static int node_duplicate_exec(bContext *C, wmOperator *op)
        bNode *node, *newnode, *lastnode;
        bNodeLink *link, *newlink, *lastlink;
        int keep_inputs = RNA_boolean_get(op->ptr, "keep_inputs");
        bNode *node, *newnode, *lastnode;
        bNodeLink *link, *newlink, *lastlink;
        int keep_inputs = RNA_boolean_get(op->ptr, "keep_inputs");
-       bNodeSocket *sock;
        
        ED_preview_kill_jobs(C);
        
        
        ED_preview_kill_jobs(C);