DIAG_OFF(_x) \
DIAG_ON(pragmas)
# define DIAG_ON_OPTIONAL(_x) \
- DIAG_OFF(pragmas)
+ DIAG_OFF(pragmas) \
DIAG_ON(_x) \
DIAG_ON(pragmas)
# define DIAG_PUSH() DIAG_PRAGMA(push)
* is likely to be the function which returns
* the "original" error.
*/
- (void)fr_strerror();
+ fr_strerror_clear();
if (src_port) my_port = *src_port;
if (src_ipaddr) {
*
* @hidecallergraph
*/
-static inline CC_HINT(always_inline) CC_HINT(nonnull) fr_log_entry_t *strerror_const(char const *msg)
+static inline CC_HINT(always_inline) fr_log_entry_t *strerror_const(char const *msg)
{
fr_log_entry_t *entry;
fr_log_buffer_t *buffer;
*
* @hidecallergraph
*/
-static CC_HINT(always_inline) CC_HINT(nonnull)
-fr_log_entry_t *strerror_const_push(fr_log_buffer_t *buffer, char const *msg)
+static CC_HINT(always_inline) fr_log_entry_t *strerror_const_push(fr_log_buffer_t *buffer, char const *msg)
{
fr_log_entry_t *entry;
* base64 encoded and big endian
*/
} else {
- (void)fr_strerror();
+ fr_strerror_clear();
slen = fr_base64_decode((uint8_t *)&iterations, sizeof(iterations), (char const *)p, q - p);
if (slen < 0) {
RPEDEBUG("Failed decoding PBKDF2-Password iterations component (%.*s)", (int)(q - p), p);