mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-07 09:26:30 +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,
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user