Commit 29b77446 by Ben Straub

Initialize variables

parent cc745341
...@@ -179,7 +179,7 @@ static int _git_uploadpack_ls( ...@@ -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( ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment