Initialize variables

This commit is contained in:
Ben Straub 2013-10-30 15:38:52 -07:00
parent cc7453417f
commit 29b77446b7

View File

@ -179,7 +179,7 @@ static int _git_uploadpack_ls(
const char *url, const char *url,
git_smart_subtransport_stream **stream) git_smart_subtransport_stream **stream)
{ {
char *host, *port, *user=NULL, *pass=NULL; char *host=NULL, *port=NULL, *user=NULL, *pass=NULL;
git_stream *s; git_stream *s;
*stream = NULL; *stream = NULL;
@ -235,7 +235,7 @@ static int _git_receivepack_ls(
const char *url, const char *url,
git_smart_subtransport_stream **stream) git_smart_subtransport_stream **stream)
{ {
char *host, *port, *user=NULL, *pass=NULL; char *host=NULL, *port=NULL, *user=NULL, *pass=NULL;
git_stream *s; git_stream *s;
*stream = NULL; *stream = NULL;