git-branch -D: make it work even when on a yet-to-be-born branch
[gitweb.git] / test-delta.c
index 89eb68ed21545e4001c08dd21b5e907e22b979bb..1be8ee0c721ec35372fee4e686d9664b143b4345 100644 (file)
@@ -63,7 +63,7 @@ int main(int argc, char *argv[])
        if (argv[1][1] == 'd')
                out_buf = diff_delta(from_buf, from_size,
                                     data_buf, data_size,
-                                    &out_size, 0, NULL);
+                                    &out_size, 0);
        else
                out_buf = patch_delta(from_buf, from_size,
                                      data_buf, data_size,