slash = strchr(path, '/');
if (!slash) {
len = strlen(path);
- next = 0;
+ next = NULL;
}
else {
next = slash + 1;
return err;
}
-static const char *ls_tree_usage =
+static const char ls_tree_usage[] =
"git-ls-tree [-d] [-r] [-z] <tree-ish> [path...]";
int main(int argc, char **argv)