]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Unused code
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 24 May 2018 03:39:53 +0000 (09:39 +0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 24 May 2018 03:39:53 +0000 (09:39 +0600)
src/modules/rlm_json/json.c

index 7a2d34f1ce40bb001c1e7320cf183a2cab0b8d2b..452e3d6b617f567d1d11d2f09cac8a6cf973b859 100644 (file)
@@ -88,13 +88,6 @@ int fr_json_object_to_value_box(TALLOC_CTX *ctx, fr_value_box_t *out, json_objec
 #else
                int32_t num;
 #endif
-#ifndef HAVE_JSON_OBJECT_GET_INT64
-               if (dst_type == FR_TYPE_UINT64) {
-                       fr_strerror_printf("64bit integers are not supported by linked json-c.  "
-                                          "Upgrade to json-c > 0.10 to use this feature");
-                       return -1;
-               }
-#endif
 
 #ifndef HAVE_JSON_OBJECT_GET_INT64
                num = json_object_get_int(object);