[epiphany] Fix "Non-void function should return a value"
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Fix "Non-void function should return a value"
- Date: Wed, 27 Aug 2014 09:17:14 +0000 (UTC)
commit 03b9ca0c22ad6754104d363f754272e66fb8a2df
Author: Ting-Wei Lan <lantw src gnome org>
Date: Wed Aug 27 01:17:46 2014 +0800
Fix "Non-void function should return a value"
embed/web-extension/ephy-web-extension.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/web-extension/ephy-web-extension.c b/embed/web-extension/ephy-web-extension.c
index 44ca976..110416d 100644
--- a/embed/web-extension/ephy-web-extension.c
+++ b/embed/web-extension/ephy-web-extension.c
@@ -1269,7 +1269,7 @@ allow_tls_certificate_cb (JSContextRef context,
extension = data->extension;
if (!extension->priv->dbus_connection)
- return;
+ return JSValueMakeUndefined (context);
g_dbus_connection_emit_signal (extension->priv->dbus_connection,
NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]