summaryrefslogtreecommitdiff
path: root/remote.go
diff options
context:
space:
mode:
Diffstat (limited to 'remote.go')
-rw-r--r--remote.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/remote.go b/remote.go
index c221713..6f3c9ea 100644
--- a/remote.go
+++ b/remote.go
@@ -596,7 +596,6 @@ func populateFetchOptions(options *C.git_fetch_options, opts *FetchOptions) {
// the configuration; msg specifies what to use for the reflog
// entries. Leave "" to use defaults.
func (o *Remote) Fetch(refspecs []string, opts *FetchOptions, msg string) error {
-
var cmsg *C.char = nil
if msg != "" {
cmsg = C.CString(msg)