mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-21 22:16:24 +00:00
a few more variables set to NULL
This commit is contained in:
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,
|
const char *authority,
|
||||||
size_t len)
|
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;
|
*userpass_end = NULL, *user_end = NULL;
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
@@ -574,7 +574,7 @@ int git_net_url_parse_http(
|
|||||||
const char *given)
|
const char *given)
|
||||||
{
|
{
|
||||||
git_net_url_parser parser = GIT_NET_URL_PARSER_INIT;
|
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;
|
size_t authority_len = 0, path_len = 0;
|
||||||
int error;
|
int error;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user