summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2014-08-25 01:02:10 +0200
committerThomas Graf <tgraf@suug.ch>2014-08-25 01:07:19 +0200
commit68bd14ffd1ba7ccaa32ebcefa6627be6b53b7063 (patch)
tree15ed24fc62da5d4d6ec888c31085b467e1c904c8
parente2df502abc24b97dba3485f9734a3f48ea7de0f8 (diff)
Remove unused write_column() function
Signed-off-by: Thomas Graf <tgraf@suug.ch>
-rw-r--r--src/graph.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/graph.c b/src/graph.c
index e223b28..95866bd 100644
--- a/src/graph.c
+++ b/src/graph.c
@@ -58,26 +58,6 @@ static inline char *tbl_pos(struct graph_cfg *cfg, char *tbl, int nrow, int ncol
return at_col(at_row(cfg, tbl, nrow), ncol);
}
-static void write_column(struct graph_cfg *cfg, struct graph_table *tbl, int ncol,
- uint64_t value, double *scale, double half_step)
-{
- char *col = at_col(tbl->gt_table, ncol);
- int i;
-
-#if 0
- if (value == UNK_DATA) {
- for (i = 0; i < height; i++)
- *(at_row(g, col, i)) = unk_char;
-#endif
- if (value) {
- *(at_row(cfg, col, 0)) = ':';
-
- for (i = 0; i < cfg->gc_height; i++)
- if (value >= (scale[i] - half_step))
- *(at_row(cfg, col, i)) = cfg->gc_foreground;
- }
-}
-
static void fill_table(struct graph *g, struct graph_table *tbl,
struct history *h, struct history_store *data)
{