diff options
| author | Mirko Nosenzo <[email protected]> | 2016-08-28 11:21:10 +0200 |
|---|---|---|
| committer | Mirko Nosenzo <[email protected]> | 2016-08-28 11:21:10 +0200 |
| commit | 6ffad323ba4f723479d04182224297d90c0f9084 (patch) | |
| tree | 3ae5952560e91112a3c82cb3d517e8bdf95b74e2 /checkout.go | |
| parent | aa7dfab1cf7534f7a3b99c2688c874b0af09d9f4 (diff) | |
Removed Useless Argument Check
Diffstat (limited to 'checkout.go')
| -rw-r--r-- | checkout.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/checkout.go b/checkout.go index a511306..f5822c9 100644 --- a/checkout.go +++ b/checkout.go @@ -119,9 +119,6 @@ func checkoutNotifyCallback(why C.git_checkout_notify_t, cpath *C.char, cbaselin //export checkoutProgressCallback func checkoutProgressCallback(path *C.char, completed_steps, total_steps C.size_t, data unsafe.Pointer) int { - if data == nil { - return 0 - } opts := pointerHandles.Get(data).(*CheckoutOpts) if opts.ProgressCallback == nil { return 0 |
