[bakery] Fixing a compiler warning about a missing return.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bakery] Fixing a compiler warning about a missing return.
- Date: Wed, 16 Jun 2010 08:56:48 +0000 (UTC)
commit ddfd5a5137db1eb0644e4fea01f2cf1881f02276
Author: Vinzent Untz <vuntz gnome org>
Date: Wed Jun 16 10:55:45 2010 +0200
Fixing a compiler warning about a missing return.
* Bakery/App/GtkDialogs.cc: Add a missing return.
This fixes bug #582998.
bakery/App/GtkDialogs.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/bakery/App/GtkDialogs.cc b/bakery/App/GtkDialogs.cc
index 39ef158..8d2512e 100644
--- a/bakery/App/GtkDialogs.cc
+++ b/bakery/App/GtkDialogs.cc
@@ -211,6 +211,7 @@ Glib::ustring GtkDialogs::ui_file_select_save(App& app, const Glib::ustring& old
else
return Glib::ustring(); //The user cancelled.
}
+ return Glib::ustring(); //We don't really know what happened.
}
App_WithDoc::enumSaveChanges GtkDialogs::ui_offer_to_save_changes(App& app, const Glib::ustring& file_uri)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]