projects
/
finddup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5075f86
)
Removed print_size_sum.
author
Francois Fleuret
<francois@fleuret.org>
Sat, 13 Mar 2010 11:13:44 +0000
(12:13 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Sat, 13 Mar 2010 11:13:44 +0000
(12:13 +0100)
finddup.c
patch
|
blob
|
history
diff --git
a/finddup.c
b/finddup.c
index
7d5b058
..
6623dfa
100644
(file)
--- 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 {