add: pass in repo variable instead of global the_repository #535
Annotations
5 errors
Run ci/run-build-and-tests.sh:
builtin/add.c#L397
builtin/add.c:397:21: incompatible integer to pointer conversion passing 'int' to parameter of type 'struct repository *' [-Werror,-Wint-conversion]
|
Run ci/run-build-and-tests.sh:
builtin/add.c#L397
builtin/add.c:397:27: incompatible pointer to integer conversion passing 'const char **' to parameter of type 'int' [-Werror,-Wint-conversion]
|
Run ci/run-build-and-tests.sh:
builtin/add.c#L397
builtin/add.c:397:33: incompatible pointer types passing 'const char *' to parameter of type 'const char **'; take the address with & [-Werror,-Wincompatible-pointer-types]
|
Run ci/run-build-and-tests.sh:
builtin/add.c#L397
builtin/add.c:397:41: incompatible pointer types passing 'struct repository *' to parameter of type 'const char *' [-Werror,-Wincompatible-pointer-types]
|
Run ci/run-build-and-tests.sh
Process completed with exit code 1.
|
Loading