Skip to content

Commit

Permalink
Silence unused function warning
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Mar 23, 2014
1 parent 3e6a86f commit 4459595
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/rlm_rest/rest.c
Expand Up @@ -573,6 +573,7 @@ static size_t rest_encode_post(void *out, size_t size, size_t nmemb, void *userd
return len;
}

#ifdef HAVE_JSON
/** Encodes VALUE_PAIR linked list in JSON format
*
* This is a stream function matching the rest_read_t prototype. Multiple
Expand Down Expand Up @@ -758,6 +759,7 @@ static size_t rest_encode_json(void *out, size_t size, size_t nmemb, void *userd

return len;
}
#endif

/** Emulates successive libcurl calls to an encoding function
*
Expand Down

0 comments on commit 4459595

Please sign in to comment.