| 959 | } |
| 960 | |
| 961 | static int null_streq(const char *a, const char *b) |
| 962 | { |
| 963 | const char *empty = ""; |
| 964 | if (!a) |
| 965 | a = empty; |
| 966 | |
| 967 | if (!b) |
| 968 | b = empty; |
| 969 | |
| 970 | return 0 == strcmp(a, b); |
| 971 | } |
| 972 | |
| 973 | static int reftable_log_record_equal_void(const void *a, |
| 974 | const void *b, uint32_t hash_size) |
no outgoing calls
no test coverage detected