summaryrefslogtreecommitdiff
path: root/hasher.c
diff options
context:
space:
mode:
Diffstat (limited to 'hasher.c')
-rw-r--r--hasher.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hasher.c b/hasher.c
index fb4b0a5e..b80407cf 100644
--- a/hasher.c
+++ b/hasher.c
@@ -35,8 +35,7 @@ int main() {
continue;
if (line[strlen(line)-1] == '\n')
line[strlen(line)-1] = '\0';
- ret = btrfs_name_hash(line, strlen(line), &result);
- BUG_ON(ret);
+ result = btrfs_name_hash(line, strlen(line));
printf("hash returns %llu\n", (unsigned long long)result);
}
return 0;