From: Francois Fleuret Date: Sat, 13 Mar 2010 11:13:44 +0000 (+0100) Subject: Removed print_size_sum. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=f6f8633ef573d59108ee243be6ef77b1b4f599fd;p=finddup.git Removed print_size_sum. --- diff --git a/finddup.c b/finddup.c index 7d5b058..6623dfa 100644 --- a/finddup.c +++ b/finddup.c @@ -93,21 +93,6 @@ int ignore_entry(const char *name) { (ignore_dotfiles && name[0] == '.'); } -void print_size_sum(size_sum_t s) { - char tmp[100]; - char *a = tmp + sizeof(tmp)/sizeof(char); - *(--a) = '\0'; - if(s) { - while(s) { - *(--a) = s%10 + '0'; - s /= 10; - } - } else { - *(--a) = '0'; - } - printf(a); -} - /**********************************************************************/ struct file_with_size {