projects
/
cascardo
/
declara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Corrige conjuge_salva.
[cascardo/declara.git]
/
lib
/
totais.c
diff --git
a/lib/totais.c
b/lib/totais.c
index
5d32d33
..
b9f0aa1
100644
(file)
--- a/
lib/totais.c
+++ b/
lib/totais.c
@@
-40,7
+40,7
@@
int totais_add(struct declaracao *dec, char *key, long long val)
goto out_hash;
*p = 0;
}
- if (dec->verbose) {
+ if (dec->verbose
&& val
) {
printf("Somando "FMT_R" a %s: "FMT_R" -> "FMT_R"\n",
R(val), key, R(*p), R(*p + val));
}