diff options
| author | Luc Bertrand <grumpy@cacou.net> | 2011-08-03 13:38:02 +0200 |
|---|---|---|
| committer | Luc Bertrand <grumpy@cacou.net> | 2011-08-03 13:38:02 +0200 |
| commit | 9d9e492dc0e61468d1914a449f080a75ee171b4b (patch) | |
| tree | d21b7e616636651c98bd4df0a6ca1200dd6ae98b /src | |
| parent | 8cf077f4d52e53f9b09e72bae2a358aa282d89f9 (diff) | |
| download | libgit2-9d9e492dc0e61468d1914a449f080a75ee171b4b.tar.gz | |
remove unused variable
Diffstat (limited to 'src')
| -rw-r--r-- | src/status.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/status.c b/src/status.c index 8be46eb01..50810a057 100644 --- a/src/status.c +++ b/src/status.c @@ -247,7 +247,6 @@ int git_status_foreach(git_repository *repo, int (*callback)(const char *, unsig unsigned int i, cnt; git_index_entry *index_entry; char temp_path[GIT_PATH_MAX]; - git_oid zero; int error; git_tree *tree; struct status_st dirent_st; @@ -284,7 +283,6 @@ int git_status_foreach(git_repository *repo, int (*callback)(const char *, unsig strcpy(temp_path, repo->path_workdir); git_futils_direach(temp_path, GIT_PATH_MAX, dirent_cb, &dirent_st); - memset(&zero, 0x0, sizeof(git_oid)); for (i = 0; i < entries.length; ++i) { e = (struct status_entry *)git_vector_get(&entries, i); |
