Do not double check if the signature is nil.

This commit is contained in:
David Calavera 2015-01-08 14:21:29 -08:00
parent 9b914e07cc
commit 22f4a4edaa
1 changed files with 1 additions and 3 deletions

View File

@ -342,7 +342,5 @@ func populateSubmoduleUpdateOptions(ptr *C.git_submodule_update_options, opts *S
populateCheckoutOpts(&ptr.checkout_opts, opts.CheckoutOpts)
populateRemoteCallbacks(&ptr.remote_callbacks, opts.RemoteCallbacks)
ptr.clone_checkout_strategy = C.uint(opts.CloneCheckoutStrategy)
if opts.Signature != nil {
ptr.signature = opts.Signature.toC()
}
ptr.signature = opts.Signature.toC()
}