am 5a16eba2: am eef99138: Merge "updater: Remove the unused isunresumable in SaveStash()."
* commit '5a16eba2c323ecb4f1dd1ecb2ecea7a0ac8bdbb5':
updater: Remove the unused isunresumable in SaveStash().
diff --git a/updater/blockimg.cpp b/updater/blockimg.cpp
index d5c8bb1..7da9adf 100755
--- a/updater/blockimg.cpp
+++ b/updater/blockimg.cpp
@@ -768,8 +768,8 @@
}
static int SaveStash(const std::string& base, char** wordsave, uint8_t** buffer,
- size_t* buffer_alloc, int fd, int usehash, bool* isunresumable) {
- if (!wordsave || !buffer || !buffer_alloc || !isunresumable) {
+ size_t* buffer_alloc, int fd, bool usehash) {
+ if (!wordsave || !buffer || !buffer_alloc) {
return -1;
}
@@ -1129,7 +1129,7 @@
}
return SaveStash(params->stashbase, ¶ms->cpos, ¶ms->buffer, ¶ms->bufsize,
- params->fd, (params->version >= 3), ¶ms->isunresumable);
+ params->fd, (params->version >= 3));
}
static int PerformCommandFree(CommandParameters* params) {