summaryrefslogtreecommitdiff
path: root/baobab/src/baobab-chart.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-02-27 19:01:04 +0100
committerlukefromdc <[email protected]>2019-04-09 18:48:55 +0000
commit532a8d3e9794c9bc0f639b40f98eed0049b70757 (patch)
tree4a313ea8502e0bc631f609f17bd412d197075367 /baobab/src/baobab-chart.c
parentd4d96862c962266bc33a21f1fa64e97c42df4e62 (diff)
downloadmate-utils-532a8d3e9794c9bc0f639b40f98eed0049b70757.tar.bz2
mate-utils-532a8d3e9794c9bc0f639b40f98eed0049b70757.tar.xz
Improve performance by removing unused assignments
Diffstat (limited to 'baobab/src/baobab-chart.c')
-rw-r--r--baobab/src/baobab-chart.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/baobab/src/baobab-chart.c b/baobab/src/baobab-chart.c
index c84c14b1..adaf76d9 100644
--- a/baobab/src/baobab-chart.c
+++ b/baobab/src/baobab-chart.c
@@ -984,14 +984,12 @@ baobab_chart_set_item_highlight (GtkWidget *chart,
{
BaobabChartItem *item;
BaobabChartPrivate *priv;
- BaobabChartClass *class;
if (node == NULL)
return;
item = (BaobabChartItem *) node->data;
priv = BAOBAB_CHART_GET_PRIVATE (chart);
- class = BAOBAB_CHART_GET_CLASS (chart);
if (highlighted)
priv->highlighted_item = node;