| author | Junio C Hamano <junkio@cox.net> | |
| Wed, 28 Jun 2006 08:46:41 +0000 (01:46 -0700) | ||
| committer | Junio C Hamano <junkio@cox.net> | |
| Wed, 28 Jun 2006 10:58:55 +0000 (03:58 -0700) | ||
| commit | 2c0b4dfd5a2099bdbbdfad71c3193a25c9052f2d | |
| tree | a3dc8e955138f62d94bbfde10f8d68bdb6230ffc | tree | snapshot |
| parent | 3969cf7db1a13a78f3b7a36d8c1084bbe0a53459 | commit | diff |
combine-diff.c: type sanity.
In diff_tree_combined(), show_log_first boolean is initialized with
rev->loginfo (pointer to a string); the intention is that if we have
some string to be emitted we would want to remember that fact. Picky
compilers are offended by this, so make the expression a bit type-safer.
Signed-off-by: Junio C Hamano <junkio@cox.net>
In diff_tree_combined(), show_log_first boolean is initialized with
rev->loginfo (pointer to a string); the intention is that if we have
some string to be emitted we would want to remember that fact. Picky
compilers are offended by this, so make the expression a bit type-safer.
Signed-off-by: Junio C Hamano <junkio@cox.net>
| combine-diff.c | diff | blob | history |