Code

submodule.c: Squelch a "use before assignment" warning
authorDavid Aguilar <davvid@gmail.com>
Fri, 20 Nov 2009 11:33:53 +0000 (03:33 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 21 Nov 2009 05:58:11 +0000 (21:58 -0800)
commit75b9a8a6d5aee29b1d0d03935531081e6180c0db
tree3de69127d339b4ab3f8fb1ce41380028ed6d8e52
parente36e6c00cd60130f8792319a5aa0f56d2da68e14
submodule.c: Squelch a "use before assignment" warning

i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493) compiler
(and probably others) mistakenly thinks variable 'right' is used
before assigned.  Work around it by giving it a fake initialization.

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule.c