diff options
| author | Shawn O. Pearce <spearce@spearce.org> | 2008-10-31 10:42:32 -0700 |
|---|---|---|
| committer | Shawn O. Pearce <spearce@spearce.org> | 2008-10-31 10:42:32 -0700 |
| commit | 44181c23ea6c39d51a4b481dc59ecf2cc3967e76 (patch) | |
| tree | 32581d0093429770d044a60eb0e9cc0462bedb13 /src/git_odb.c | |
| parent | c15648cbd059b92c177586ab1701a167222c7681 (diff) | |
| download | libgit2-44181c23ea6c39d51a4b481dc59ecf2cc3967e76.tar.gz | |
Mark git_oid parameters const when they shouldn't be modified
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'src/git_odb.c')
| -rw-r--r-- | src/git_odb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/git_odb.c b/src/git_odb.c index f1b16987e..f2ee83a04 100644 --- a/src/git_odb.c +++ b/src/git_odb.c @@ -35,7 +35,7 @@ #include "git_odb.h" -git_result git_odb_sread(git_sobj *out, git_odb *db, git_oid *id) +git_result git_odb_sread(git_sobj *out, git_odb *db, const git_oid *id) { if (!git_odb__sread_packed(out, db, id)) return GIT_SUCCESS; |
