Fix some warnings

tingping/wmclass
Alexander Larsson 2015-12-01 16:39:01 +01:00
parent b172924669
commit 5e96d10128
2 changed files with 4 additions and 4 deletions

View File

@ -494,21 +494,21 @@ builder_manifest_init_app_dir (BuilderManifest *self,
{ {
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
"app id not specified"); "app id not specified");
return NULL; return FALSE;
} }
if (self->runtime == NULL) if (self->runtime == NULL)
{ {
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
"runtime not specified"); "runtime not specified");
return NULL; return FALSE;
} }
if (self->sdk == NULL) if (self->sdk == NULL)
{ {
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
"sdk not specified"); "sdk not specified");
return NULL; return FALSE;
} }
subp = subp =

View File

@ -276,7 +276,7 @@ builder_source_bzr_download (BuilderSource *source,
if (self->url == NULL) if (self->url == NULL)
{ {
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "URL not specified"); g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "URL not specified");
return NULL; return FALSE;
} }
mirror_dir = get_mirror_dir (self, context); mirror_dir = get_mirror_dir (self, context);