difftool: silence uninitialized variable warning
commitaf14b5cf1bec831f90fb5d4136e0205de802b01b
authorDavid Aguilar <davvid@gmail.com>
Sat, 16 Feb 2013 05:47:43 +0000 (15 21:47 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 17 Feb 2013 22:34:38 +0000 (17 14:34 -0800)
treecb6026d2394ef403d922a720c2c76e4b5639e127
parent7b6e784d70142a23b8ee031b9190e30b9d4d6845
difftool: silence uninitialized variable warning

Git::config() returns `undef` when given keys that do not exist.
Check that the $guitool value is defined to prevent a noisy
"Use of uninitialized variable $guitool in length" warning.

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-difftool.perl