cleanup
authorLuke Howard <lukeh@padl.com>
Mon, 28 Mar 2011 06:12:51 +0000 (17:12 +1100)
committerLuke Howard <lukeh@padl.com>
Mon, 28 Mar 2011 06:12:51 +0000 (17:12 +1100)
util_json.h

index 639e7b0..28a866a 100644 (file)
@@ -130,7 +130,7 @@ namespace gss_eap {
         friend class JSONIterator;
 
         json_t *get(void) const {
-            return m_obj ? json_incref(m_obj) : json_null();
+            return json_incref(m_obj);
         }
 
         void set(json_t *obj) {
@@ -144,7 +144,6 @@ namespace gss_eap {
 
         json_t *m_obj;
     };
-
 }
 
 #endif /* __cplusplus */