From 41459c16b96cccdb68e87f45c67561a2e24f1f1c Mon Sep 17 00:00:00 2001 From: Jakson Alves de Aquino Date: Sun, 28 Jan 2018 11:51:13 -0300 Subject: [PATCH] Delete no longer used function --- R/nvimcom/src/nvimcom.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/R/nvimcom/src/nvimcom.c b/R/nvimcom/src/nvimcom.c index 8f505608..36904f7a 100644 --- a/R/nvimcom/src/nvimcom.c +++ b/R/nvimcom/src/nvimcom.c @@ -118,15 +118,6 @@ char *nvimcom_grow_obbrbuf() return(obbrbuf2 + strlen(obbrbuf2)); } -static void nvimcom_del_newline(char *buf) -{ - for(int i = 0; i < strlen(buf); i++) - if(buf[i] == '\n'){ - buf[i] = 0; - break; - } -} - static void nvimcom_set_finalmsg(const char *msg, char *finalmsg) { // Prefix NVIMR_SECRET to msg to increase security