[gjs] dbus-exports: Quiet compiler warning



commit e6b6f58653741fec662a0347e54f9844af2d27ab
Author: Colin Walters <walters verbum org>
Date:   Fri Dec 10 11:35:11 2010 -0500

    dbus-exports: Quiet compiler warning

 modules/dbus-exports.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/modules/dbus-exports.c b/modules/dbus-exports.c
index aa52ace..e234bf8 100644
--- a/modules/dbus-exports.c
+++ b/modules/dbus-exports.c
@@ -451,8 +451,8 @@ async_call_callback(JSContext *context,
     if (!signature)
         goto fail;
 
-    if (argc == 0 && !g_str_equal(signature, "") ||
-        argc > 1) {
+    if ((argc == 0 && !g_str_equal(signature, ""))
+        || argc > 1) {
         gjs_throw(context, "The callback to async DBus calls takes one argument, "
                   "the return value or array of return values");
         thrown = TRUE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]