Code

it there is no right label, do not reserve any space for it
[rrdtool.git] / src / rrd_graph.c
index b101b329388332d74209d3809431d938a7f57d67..d166f073cbf55408f2cd99b742c9ace7c4d4d16b 100644 (file)
@@ -2954,9 +2954,6 @@ int graph_size_location(
     if (im->second_axis_legend[0] != '\0') {
         Xvertical2 = im->text_prop[TEXT_PROP_UNIT].size * 2;
     }
-    else{
-        Xvertical2 = Xspacing;
-    }
 
     if (im->title[0] != '\0') {
         /* The title is placed "inbetween" two text lines so it