worktree: initialize return value for submodule_uses_worktrees
authorStefan Beller <sbeller@google.com>
Tue, 27 Dec 2016 17:50:13 +0000 (09:50 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Dec 2016 21:59:49 +0000 (13:59 -0800)
When the worktrees directory is empty, the `ret` will be returned
uninitialized. Fix it by initializing the value.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found