fix some complier warnings and add -Wundef to CMake's default GCC warnings.
[blender.git] / source / blender / editors / space_node / node_draw.c
index ec118bb3ca27348fb780ce6a2b3d2a3bb0b81aad..6be8978cb5b7cb45226f2923dfb23facf8e6d2f2 100644 (file)
@@ -549,7 +549,7 @@ static void node_draw_basis(const bContext *C, ARegion *ar, SpaceNode *snode, bN
        bNodeSocket *sock;
        rctf *rct= &node->totr;
        float iconofs;
-       float socket_size= NODE_SOCKSIZE*U.dpi/72;
+       /* float socket_size= NODE_SOCKSIZE*U.dpi/72; */ /* UNUSED */
        float iconbutw= 0.8f*UI_UNIT_X;
        int color_id= node_get_colorid(node);
        char showname[128]; /* 128 used below */