summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-25 23:20:55 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-25 23:31:02 +0300
commitee12c6e77bd4d34d5fa682361127add32cc1a184 (patch)
tree99089ea95f1608a48be831110efdec9028c386db /src
parentac0ae65802fddf79ce94bf9229bae094de0d688e (diff)
downloadplus-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.cpp5
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)