From: Arran Cudbard-Bell Date: Thu, 24 May 2018 03:39:53 +0000 (+0600) Subject: Unused code X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8328d82f9bc3d2cf836313de0a596f32f3d3c01;p=thirdparty%2Ffreeradius-server.git Unused code --- diff --git a/src/modules/rlm_json/json.c b/src/modules/rlm_json/json.c index 7a2d34f1ce4..452e3d6b617 100644 --- a/src/modules/rlm_json/json.c +++ b/src/modules/rlm_json/json.c @@ -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);