xdiff/xprepare: use memset()
commit452f4fa51e1fd1d0e3155fb4f4d8913298ac63a6
authorTay Ray Chuan <rctay89@gmail.com>
Thu, 7 Jul 2011 04:23:55 +0000 (7 12:23 +0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Jul 2011 16:36:44 +0000 (7 09:36 -0700)
treeaf04e7c54a1125475ccb1ddc8bff2e5336e90034
parentf696543dad6c7ba27b0c4fab167a5687263a9ba0
xdiff/xprepare: use memset()

Use memset() instead of a for loop to initialize. This could give a
performance advantage.

Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xprepare.c