Actually use retval

This is most likely a bug. Nocited by gcc 4.6.0.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2011-03-22 12:40:09 +01:00
parent 44123e8405
commit c6b028d1a4

View File

@@ -58,7 +58,7 @@ static int compare_tree_entry(struct tree_desc *t1, struct tree_desc *t2,
opt->change(opt, mode1, mode2, sha1, sha2, base->buf, 0, 0);
}
strbuf_setlen(base, old_baselen);
return 0;
return retval;
}
/* A whole sub-tree went away or appeared */