summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)