From a0bb76ec96089593589360f6e9e122835192d7cf Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 8 Jun 2012 15:16:15 +0000 Subject: [PATCH] Remove pointless 'debugging support' in ssplit() gdb offers the same information without recompiling. --- ssplit.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/ssplit.c b/ssplit.c index b0da4516..5db2d5c4 100644 --- a/ssplit.c +++ b/ssplit.c @@ -1,4 +1,4 @@ -const char ssplit_rcs[] = "$Id: ssplit.c,v 1.13 2012/03/09 16:23:50 fabiankeil Exp $"; +const char ssplit_rcs[] = "$Id: ssplit.c,v 1.14 2012/06/08 15:15:11 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/ssplit.c,v $ @@ -43,10 +43,6 @@ const char ssplit_rcs[] = "$Id: ssplit.c,v 1.13 2012/03/09 16:23:50 fabiankeil E const char ssplit_h_rcs[] = SSPLIT_H_VERSION; -/* Define this for lots of debugging information to stdout */ -#undef SSPLIT_VERBOSE -/* #define SSPLIT_VERBOSE 1 */ - /********************************************************************* * @@ -151,17 +147,6 @@ int ssplit(char *str, const char *delim, char *vec[], size_t vec_len) } *str = '\0'; /* null terminate the substring */ -#ifdef SSPLIT_VERBOSE - { - int i; - printf("dump %d strings\n", vec_count); - for (i = 0; i < vec_count; i++) - { - printf("%d '%s'\n", i, vec[i]); - } - } -#endif /* def SSPLIT_VERBOSE */ - return(vec_count); } -- 2.39.2