]> git.ipfire.org Git - thirdparty/git.git/commit - submodule-config.c
submodule-config: drop check against NULL
authorStefan Beller <sbeller@google.com>
Tue, 1 Mar 2016 02:07:12 +0000 (18:07 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Mar 2016 19:57:17 +0000 (11:57 -0800)
commitf73da11024adba18fe7443a420259ad07e0139d5
tree68762b3324f601334a61858c8b261a3948c12765
parentea2fa5a3388281b880ae2aa75c8eac0d4b1a6c69
submodule-config: drop check against NULL

Adhere to the common coding style of Git and not check explicitly
for NULL throughout the file. There are still other occurrences in the
code base but that is usually inside of conditions with side effects.

Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule-config.c