Skip to content

Commit

Permalink
Fix some compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
phad committed Nov 26, 2015
1 parent 88a320a commit a1102d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions objecthash.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ bool object_hash(/*const*/ json_object *j, byte hash[HASH_SIZE]) {
}
printf("type = %d\n", type);
assert(false);
return false;
}

bool python_json_hash(const char * const json, hash hash) {
Expand Down
1 change: 1 addition & 0 deletions objecthash.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ typedef byte hash[HASH_SIZE];
typedef SHA256_CTX hash_ctx;

bool common_json_hash(const char *json, hash h);
bool python_json_hash(const char * const json, hash hash);

0 comments on commit a1102d4

Please sign in to comment.