Remove some dead assignments
[wimlib] / src / update_image.c
index 27f921dcccb99b6d4dbec2bc9e5f8f75251faa25..040afb6b732b8fe4b56daeb5fab7f70df97b213d 100644 (file)
@@ -1152,7 +1152,6 @@ execute_update_commands(WIMStruct *wim,
                                goto rollback;
                }
 
-               ret = WIMLIB_ERR_INVALID_PARAM;
                switch (cmds[i].op) {
                case WIMLIB_UPDATE_OP_ADD:
                        ret = execute_add_command(j, wim, &cmds[i], inode_table,