From: Luke Howard Date: Mon, 28 Mar 2011 06:12:51 +0000 (+1100) Subject: cleanup X-Git-Tag: dvd/201105~12^2~51 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.orig;a=commitdiff_plain;h=e76077e751a6288a93d28794115a1c80ad92a379 cleanup --- diff --git a/util_json.h b/util_json.h index 639e7b0..28a866a 100644 --- a/util_json.h +++ b/util_json.h @@ -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 */