updater: Remove the unused isunresumable in SaveStash().
Change-Id: I6a8d9bea4c1cd8ea7b534682061b90e893b227a2
This commit is contained in:
parent
50c17f9da6
commit
9739a2920c
1 changed files with 3 additions and 3 deletions
|
@ -768,8 +768,8 @@ static int CreateStash(State* state, int maxblocks, const char* blockdev,
|
|||
}
|
||||
|
||||
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 @@ static int PerformCommandStash(CommandParameters* params) {
|
|||
}
|
||||
|
||||
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) {
|
||||
|
|
Loading…
Reference in a new issue