From 4e9267d76c7dc47064bc80b1f8542453725158d7 Mon Sep 17 00:00:00 2001 From: Mark Whitley Date: Mon, 23 Apr 2001 17:56:27 +0000 Subject: Reversed last patch; unnecessary. --- libbb/trim.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libbb/trim.c b/libbb/trim.c index d3be62d93..76b87ca1c 100644 --- a/libbb/trim.c +++ b/libbb/trim.c @@ -35,10 +35,6 @@ void trim(char *s) { int len = strlen(s); - /* sanity check */ - if (len == 0) - return; - /* trim trailing whitespace */ while ( len > 0 && isspace(s[len-1])) s[--len]='\0'; -- cgit v1.2.3