diff options
author | Junio C Hamano <junkio@cox.net> | 2006-06-28 01:38:19 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-28 01:38:19 -0700 |
commit | 2386c2975d66e03d02a9ebf15a1d07092975e527 (patch) | |
tree | dc5a063cb2bbfe3ff18e1b5feaed17e75b2de5aa /builtin-init-db.c | |
parent | quote.c: silence compiler warnings from EMIT macro (diff) | |
download | tgif-2386c2975d66e03d02a9ebf15a1d07092975e527.tar.xz |
combine-diff.c: type sanity
- combine_diff() took cnt (count) which is unsigned in nature but the
parameter type was declared as "int";
- find_next() took "uninteresting" parameter, which masked a static
function of the same name;
- show_parent_lno() took an unused parameter "cnt";
- show_patch_diff() used a local variable in nested inner scope with
the same name with different type, masking the one in the outer scope;
- the last loop in show_patch_diff iterated over lines so it should use
the local variable "lno"
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-init-db.c')
0 files changed, 0 insertions, 0 deletions