Skip to content

Commit e5aeb5b

Browse files
committed
[reset] remove needles variables
1 parent 6a5f090 commit e5aeb5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reset.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
PHP_FUNCTION(git_reset)
88
{
9-
int result = 0, error = 0;
9+
int result = 0;
1010
zval *repo = NULL, *target = NULL;
1111
php_git2_t *_repo = NULL, *_target = NULL;
1212
long reset_type = 0;
@@ -27,7 +27,7 @@ PHP_FUNCTION(git_reset)
2727
*/
2828
PHP_FUNCTION(git_reset_default)
2929
{
30-
int result = 0, error = 0;
30+
int result = 0;
3131
zval *repo = NULL, *target = NULL, *pathspecs = NULL, *array = NULL;
3232
php_git2_t *_repo = NULL, *_target = NULL;
3333
git_strarray _pathspecs = {0};

0 commit comments

Comments
 (0)