From 951697aab4fa682cc2c55d399562278ad40da407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 26 Feb 2019 16:15:59 +0100 Subject: Minor cleanup. --- main.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 40c0e03f..3e0d005e 100644 --- a/main.c +++ b/main.c @@ -9,11 +9,6 @@ #include "graphs.h" #include "err.h" -#define TYPE content_line -// #include "hash.inc" -#include "trie.inc.h" -#undef TYPE - typedef struct { int argc; char** argv; @@ -58,15 +53,6 @@ int main (int argc, char** argv) { for (size_t j = 0; j < cal->components.length; j++) { vcomponent* ev = GET(VECT(vcomponent))(&cal->components, j); - LLIST(strbuf)* keys = KEYS(TRIE(content_line))(&ev->clines); - FOR(LLIST, strbuf, k, keys) { - char* mem = k->mem; - char buf[10000]; - buf[0] = '\0'; - FMT(content_line)(GET(TRIE(content_line))(&ev->clines, mem), buf); - printf("%s := %s\n", mem, buf); - } - if (strcmp(ev->type, "VEVENT") != 0) continue; printf("%3lu : %3lu | %s | %s\n", -- cgit v1.2.3