Loading updater/blockimg.cpp +1 −2 Original line number Original line Diff line number Diff line Loading @@ -1318,8 +1318,7 @@ static unsigned int HashString(const char *s) { static Value* PerformBlockImageUpdate(const char* name, State* state, int /* argc */, Expr* argv[], static Value* PerformBlockImageUpdate(const char* name, State* state, int /* argc */, Expr* argv[], const Command* commands, size_t cmdcount, bool dryrun) { const Command* commands, size_t cmdcount, bool dryrun) { CommandParameters params; CommandParameters params = {}; memset(¶ms, 0, sizeof(params)); params.canwrite = !dryrun; params.canwrite = !dryrun; fprintf(stderr, "performing %s\n", dryrun ? "verification" : "update"); fprintf(stderr, "performing %s\n", dryrun ? "verification" : "update"); Loading Loading
updater/blockimg.cpp +1 −2 Original line number Original line Diff line number Diff line Loading @@ -1318,8 +1318,7 @@ static unsigned int HashString(const char *s) { static Value* PerformBlockImageUpdate(const char* name, State* state, int /* argc */, Expr* argv[], static Value* PerformBlockImageUpdate(const char* name, State* state, int /* argc */, Expr* argv[], const Command* commands, size_t cmdcount, bool dryrun) { const Command* commands, size_t cmdcount, bool dryrun) { CommandParameters params; CommandParameters params = {}; memset(¶ms, 0, sizeof(params)); params.canwrite = !dryrun; params.canwrite = !dryrun; fprintf(stderr, "performing %s\n", dryrun ? "verification" : "update"); fprintf(stderr, "performing %s\n", dryrun ? "verification" : "update"); Loading