[gnome-software] trivial: Do not use a label that has not been defined
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Do not use a label that has not been defined
- Date: Thu, 1 Jan 2015 20:54:18 +0000 (UTC)
commit 34608b4ea3da3bb69e9a2ad7ee32b5d89fb7ad0d
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Jan 1 20:50:47 2015 +0000
trivial: Do not use a label that has not been defined
Otherwise we break the build:
../../src/gs-screenshot-image.c: In function 'gs_screenshot_image_complete_cb':
../../src/gs-screenshot-image.c:237:3: error: label 'out' used but not defined
goto out;
^
src/gs-screenshot-image.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-screenshot-image.c b/src/gs-screenshot-image.c
index 4ebfb6a..3c1004d 100644
--- a/src/gs-screenshot-image.c
+++ b/src/gs-screenshot-image.c
@@ -234,7 +234,7 @@ gs_screenshot_image_complete_cb (SoupSession *session,
_cleanup_object_unref_ GsScreenshotImage *ssimg = GS_SCREENSHOT_IMAGE (user_data);
if (msg->status_code == SOUP_STATUS_CANCELLED)
- goto out;
+ return;
if (msg->status_code != SOUP_STATUS_OK) {
/* TRANSLATORS: this is when we try to download a screenshot and
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]