mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-04 05:24:47 +00:00
Initialize variables
This commit is contained in:
parent
cc7453417f
commit
29b77446b7
@ -179,7 +179,7 @@ static int _git_uploadpack_ls(
|
||||
const char *url,
|
||||
git_smart_subtransport_stream **stream)
|
||||
{
|
||||
char *host, *port, *user=NULL, *pass=NULL;
|
||||
char *host=NULL, *port=NULL, *user=NULL, *pass=NULL;
|
||||
git_stream *s;
|
||||
|
||||
*stream = NULL;
|
||||
@ -235,7 +235,7 @@ static int _git_receivepack_ls(
|
||||
const char *url,
|
||||
git_smart_subtransport_stream **stream)
|
||||
{
|
||||
char *host, *port, *user=NULL, *pass=NULL;
|
||||
char *host=NULL, *port=NULL, *user=NULL, *pass=NULL;
|
||||
git_stream *s;
|
||||
|
||||
*stream = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user