Move statement after declarations in add example.

This commit is contained in:
Krzysztof Adamski 2013-09-04 18:44:12 +02:00 committed by Russell Belfer
parent 9a0e42c673
commit 04fd266584

View File

@ -31,11 +31,10 @@ void init_array(git_strarray *array, int argc, char **argv)
int print_matched_cb(const char *path, const char *matched_pathspec, void *payload)
{
(void)matched_pathspec;
struct print_payload p = *(struct print_payload*)(payload);
int ret;
git_status_t status;
(void)matched_pathspec;
if (git_status_file(&status, p.repo, path)) {
return -1; //abort