diff options
| author | Vicent Martà <tanoku@gmail.com> | 2012-05-14 13:28:13 -0700 |
|---|---|---|
| committer | Vicent Martà <tanoku@gmail.com> | 2012-05-14 13:28:13 -0700 |
| commit | 54695f4098c75801f477f5bc229a52653484e08a (patch) | |
| tree | 70fc92ce4550023a5fefc478fcc12a9f9bcdfcfc /src | |
| parent | 87d6138e2e774b1e343695b6b6ee64904f1fa53a (diff) | |
| parent | d5ed6348c7c2a37e57a153fc685e4a8c931da006 (diff) | |
| download | libgit2-54695f4098c75801f477f5bc229a52653484e08a.tar.gz | |
Merge pull request #699 from nulltoken/fix/compilation-warnings
Fix compilation warnings
Diffstat (limited to 'src')
| -rw-r--r-- | src/notes.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/notes.c b/src/notes.c index e3fb91f1d..e14ab93af 100644 --- a/src/notes.c +++ b/src/notes.c @@ -456,7 +456,6 @@ static int process_entry_path( void *payload) { int i = 0, j = 0, error = -1, len; - bool is_hex_only = true; git_oid target_oid; git_buf buf = GIT_BUF_INIT; @@ -510,12 +509,10 @@ int git_note_foreach( void *payload) { int error = -1; - unsigned int i; - char *note; git_oid tree_oid; git_iterator *iter = NULL; git_tree *tree = NULL; - git_index_entry *item; + const git_index_entry *item; if (normalize_namespace(¬es_ref, repo) < 0) return -1; |
