From: Michael D. Lowis Date: Mon, 7 Aug 2017 13:35:46 +0000 (-0400) Subject: Minor cleanup X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=f50490127e30dfadaadfd0e7bd4ad99f9c04758d;p=projs%2Ftide.git Minor cleanup --- 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 };