From f50490127e30dfadaadfd0e7bd4ad99f9c04758d Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Mon, 7 Aug 2017 09:35:46 -0400 Subject: [PATCH] Minor cleanup --- lib/utils.c | 6 ------ tide.c | 3 --- 2 files changed, 9 deletions(-) diff --git a/lib/utils.c b/lib/utils.c index 05e0b63..ecf39ed 100644 --- a/lib/utils.c +++ b/lib/utils.c @@ -95,12 +95,6 @@ char* fdgets(int fd) { return str; } -char* chomp(char* in) { - char* pos = strrchr(in, '\n'); - if (pos) *pos = '\0'; - return in; -} - uint64_t modtime(char* path) { struct stat status; if (stat(path, &status) < 0) diff --git a/tide.c b/tide.c index b1a89a0..0fb1b69 100644 --- a/tide.c +++ b/tide.c @@ -26,9 +26,6 @@ char* ShellCmd[] = { NULL, "-c", NULL, NULL }; /* Sed command used to execute commands marked with ':' sigil */ char* SedCmd[] = { "sed", "-e", NULL, NULL }; -/* Fuzzy picker for tags in a ctags database. */ -char* PickTagCmd[] = { "picktag", NULL, "tags", NULL, NULL }; - /* Try to fetch the text with tide-fetch */ char* FetchCmd[] = { "tfetch", NULL, NULL }; -- 2.49.0