summaryrefslogtreecommitdiffstats
path: root/tools/gui/egg-histogram-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gui/egg-histogram-view.c')
-rw-r--r--tools/gui/egg-histogram-view.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/gui/egg-histogram-view.c b/tools/gui/egg-histogram-view.c
index 91e61e8..5041ba2 100644
--- a/tools/gui/egg-histogram-view.c
+++ b/tools/gui/egg-histogram-view.c
@@ -143,7 +143,7 @@ compute_histogram (EggHistogramViewPrivate *priv)
}
}
}
- else if (priv->n_bits == 16) {
+ else {
guint16 *data = (guint16 *) priv->data;
for (guint i = 0; i < priv->n_elements; i++) {
@@ -155,8 +155,6 @@ compute_histogram (EggHistogramViewPrivate *priv)
}
}
}
- else
- g_warning ("%i number of bits unsupported", priv->n_bits);
}
static void