mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
a few more variables set to NULL
This commit is contained in:
committed by
Edward Thomson
parent
4742159dd8
commit
34b14bac79
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"sarif-viewer.connectToGithubCodeScanning": "off"
|
||||
}
|
||||
@@ -184,7 +184,7 @@ static int url_parse_authority(
|
||||
const char *authority,
|
||||
size_t len)
|
||||
{
|
||||
const char *c, *hostport_end, *host_end = NULL,
|
||||
const char *c, *hostport_end = NULL, *host_end = NULL,
|
||||
*userpass_end = NULL, *user_end = NULL;
|
||||
|
||||
enum {
|
||||
@@ -574,7 +574,7 @@ int git_net_url_parse_http(
|
||||
const char *given)
|
||||
{
|
||||
git_net_url_parser parser = GIT_NET_URL_PARSER_INIT;
|
||||
const char *c, *authority = NULL, *path = NULL;
|
||||
const char *c = NULL, *authority = NULL, *path = NULL;
|
||||
size_t authority_len = 0, path_len = 0;
|
||||
int error;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user