We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a5f090 commit e5aeb5bCopy full SHA for e5aeb5b
reset.c
@@ -6,7 +6,7 @@
6
*/
7
PHP_FUNCTION(git_reset)
8
{
9
- int result = 0, error = 0;
+ int result = 0;
10
zval *repo = NULL, *target = NULL;
11
php_git2_t *_repo = NULL, *_target = NULL;
12
long reset_type = 0;
@@ -27,7 +27,7 @@ PHP_FUNCTION(git_reset)
27
28
PHP_FUNCTION(git_reset_default)
29
30
31
zval *repo = NULL, *target = NULL, *pathspecs = NULL, *array = NULL;
32
33
git_strarray _pathspecs = {0};
0 commit comments