mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
cli: avoid uninitialized variable warnings
This commit is contained in:
@@ -359,7 +359,7 @@ GIT_INLINE(const cli_opt_spec *) spec_for_sort(
|
||||
const char *arg)
|
||||
{
|
||||
int is_negated, has_value = 0;
|
||||
const char *value;
|
||||
const char *value = NULL;
|
||||
const cli_opt_spec *spec = NULL;
|
||||
size_t idx = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user