summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cedbf71)
raw | patch | inline | side by side (parent: cedbf71)
author | Sebastian Harl <sh@tokkee.org> | |
Sat, 4 Jun 2016 16:51:44 +0000 (18:51 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 10 Jun 2016 19:04:49 +0000 (21:04 +0200) |
It's not overly useful after all but generates false compiler warnings /
errors on Xenial using CLANG, since we also check the parameter in the
function (which is what we want in the end and there's no risk in actually
calling it with a NULL value).
errors on Xenial using CLANG, since we also check the parameter in the
function (which is what we want in the end and there's no risk in actually
calling it with a NULL value).
src/utils_curl_stats.h | patch | blob | history |
diff --git a/src/utils_curl_stats.h b/src/utils_curl_stats.h
index 69927f77cffd6688998d6b207dc380dcd2308cc1..f708c629635c0ac662cb44647c88dae554534868 100644 (file)
--- a/src/utils_curl_stats.h
+++ b/src/utils_curl_stats.h
*
* See http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html
*/
-__attribute__((nonnull(1)))
curl_stats_t *curl_stats_from_config (oconfig_item_t *ci);
void curl_stats_destroy (curl_stats_t *s);