mirror of https://github.com/getdnsapi/getdns.git
Move to clang-friendly way of marking unused function parameters as used.
This commit is contained in:
parent
6d6e66c5a8
commit
c74e8353a8
|
@ -1821,8 +1821,8 @@ getdns_yaml2dict(const char *str, getdns_dict **dict)
|
||||||
return GETDNS_RETURN_GENERIC_ERROR;
|
return GETDNS_RETURN_GENERIC_ERROR;
|
||||||
}
|
}
|
||||||
#else /* USE_YAML_CONFIG */
|
#else /* USE_YAML_CONFIG */
|
||||||
str = str;
|
(void) str;
|
||||||
dict = dict;
|
(void) dict;
|
||||||
return GETDNS_RETURN_NOT_IMPLEMENTED;
|
return GETDNS_RETURN_NOT_IMPLEMENTED;
|
||||||
#endif /* USE_YAML_CONFIG */
|
#endif /* USE_YAML_CONFIG */
|
||||||
}
|
}
|
||||||
|
@ -1845,8 +1845,8 @@ getdns_yaml2list(const char *str, getdns_list **list)
|
||||||
return GETDNS_RETURN_GENERIC_ERROR;
|
return GETDNS_RETURN_GENERIC_ERROR;
|
||||||
}
|
}
|
||||||
#else /* USE_YAML_CONFIG */
|
#else /* USE_YAML_CONFIG */
|
||||||
str = str;
|
(void) str;
|
||||||
list = list;
|
(void) list;
|
||||||
return GETDNS_RETURN_NOT_IMPLEMENTED;
|
return GETDNS_RETURN_NOT_IMPLEMENTED;
|
||||||
#endif /* USE_YAML_CONFIG */
|
#endif /* USE_YAML_CONFIG */
|
||||||
}
|
}
|
||||||
|
@ -1869,8 +1869,8 @@ getdns_yaml2bindata(const char *str, getdns_bindata **bindata)
|
||||||
return GETDNS_RETURN_GENERIC_ERROR;
|
return GETDNS_RETURN_GENERIC_ERROR;
|
||||||
}
|
}
|
||||||
#else /* USE_YAML_CONFIG */
|
#else /* USE_YAML_CONFIG */
|
||||||
str = str;
|
(void) str;
|
||||||
bindata = bindata;
|
(void) bindata;
|
||||||
return GETDNS_RETURN_NOT_IMPLEMENTED;
|
return GETDNS_RETURN_NOT_IMPLEMENTED;
|
||||||
#endif /* USE_YAML_CONFIG */
|
#endif /* USE_YAML_CONFIG */
|
||||||
}
|
}
|
||||||
|
@ -1893,8 +1893,8 @@ getdns_yaml2int(const char *str, uint32_t *value)
|
||||||
return GETDNS_RETURN_GENERIC_ERROR;
|
return GETDNS_RETURN_GENERIC_ERROR;
|
||||||
}
|
}
|
||||||
#else /* USE_YAML_CONFIG */
|
#else /* USE_YAML_CONFIG */
|
||||||
str = str;
|
(void) str;
|
||||||
value = value;
|
(void) value;
|
||||||
return GETDNS_RETURN_NOT_IMPLEMENTED;
|
return GETDNS_RETURN_NOT_IMPLEMENTED;
|
||||||
#endif /* USE_YAML_CONFIG */
|
#endif /* USE_YAML_CONFIG */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue