...
 
variables: variables:
BUILD_IMAGES_PROJECT: gnutls/build-images BUILD_IMAGES_PROJECT: gnutls/build-images
DEBIAN_CROSS_BUILD: buildenv-debian-cross DEBIAN_CROSS_BUILD: buildenv-debian-cross
FEDORA_BUILD: buildenv-f29 FEDORA_BUILD: buildenv-fedora31
DEBIAN_X86_CROSS_BUILD: buildenv-debian-x86-cross DEBIAN_X86_CROSS_BUILD: buildenv-debian-x86-cross
GET_SOURCES_ATTEMPTS: "3" GET_SOURCES_ATTEMPTS: "3"
......
...@@ -217,6 +217,7 @@ static int ...@@ -217,6 +217,7 @@ static int
match_argument(const char *given, const char *name) match_argument(const char *given, const char *name)
{ {
/* FIXME: Allow abbreviations */ /* FIXME: Allow abbreviations */
assert(given != NULL && name != NULL);
return !strcmp(given, name); return !strcmp(given, name);
} }
...@@ -279,7 +280,10 @@ parse_options(struct conv_options *o, ...@@ -279,7 +280,10 @@ parse_options(struct conv_options *o,
case 'w': case 'w':
{ {
char *end; char *end;
int width = strtol(optarg, &end , 0); int width;
assert(optarg != NULL);
width = strtol(optarg, &end , 0);
if (!*optarg || *end || width < 0) if (!*optarg || *end || width < 0)
die("sexp-conv: Invalid width `%s'.\n", optarg); die("sexp-conv: Invalid width `%s'.\n", optarg);
......