diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-25 23:20:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-25 23:31:02 +0300 |
commit | ee12c6e77bd4d34d5fa682361127add32cc1a184 (patch) | |
tree | 99089ea95f1608a48be831110efdec9028c386db /src | |
parent | ac0ae65802fddf79ce94bf9229bae094de0d688e (diff) | |
download | plus-ee12c6e77bd4d34d5fa682361127add32cc1a184.tar.gz plus-ee12c6e77bd4d34d5fa682361127add32cc1a184.tar.bz2 plus-ee12c6e77bd4d34d5fa682361127add32cc1a184.tar.xz plus-ee12c6e77bd4d34d5fa682361127add32cc1a184.zip |
Add NONNULL atribute into actions directory.
Diffstat (limited to 'src')
-rw-r--r-- | src/actions/actions.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index c9211b61d..d6a8ec53d 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -120,6 +120,11 @@ namespace Actions static int uploadUpdate(void *ptr, DownloadStatusT status, size_t total A_UNUSED, + size_t remaining A_UNUSED) A_NONNULL(1); + +static int uploadUpdate(void *ptr, + DownloadStatusT status, + size_t total A_UNUSED, size_t remaining A_UNUSED) { if (status == DownloadStatus::Idle || status == DownloadStatus::Starting) |