diff --git a/transport.c b/transport.c
index 4cb807700a445fd985bbcc77259a9b5b484d1932..644a30a0b200b339d291f4cc3d35b2268d12facd 100644 (file)
--- a/transport.c
+++ b/transport.c
int transport_push(struct transport *transport,
int refspec_nr, const char **refspec, int flags,
- int * nonfastforward)
+ int *nonfastforward)
{
+ *nonfastforward = 0;
verify_remote_names(refspec_nr, refspec);
if (transport->push)