qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tr...@apache.org
Subject svn commit: r1597074 - /qpid/dispatch/trunk/src/config.c
Date Fri, 23 May 2014 12:18:43 GMT
Author: tross
Date: Fri May 23 12:18:43 2014
New Revision: 1597074

URL: http://svn.apache.org/r1597074
Log:
NO-JIRA - Added braces around a macro that needs braces.

Modified:
    qpid/dispatch/trunk/src/config.c

Modified: qpid/dispatch/trunk/src/config.c
URL: http://svn.apache.org/viewvc/qpid/dispatch/trunk/src/config.c?rev=1597074&r1=1597073&r2=1597074&view=diff
==============================================================================
--- qpid/dispatch/trunk/src/config.c (original)
+++ qpid/dispatch/trunk/src/config.c Fri May 23 12:18:43 2014
@@ -225,8 +225,9 @@ bool qd_config_item_exists(const qd_disp
 {
     PyObject *pResult = item_value(dispatch, section, index, key, "value_string");
     bool exists = pResult && pResult != Py_None;
-    if (pResult)
+    if (pResult) {
         Py_DECREF(pResult);
+    }
     return exists;
 }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message