aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/hdt-cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/hdt/hdt-cli.c')
-rw-r--r--com32/hdt/hdt-cli.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/com32/hdt/hdt-cli.c b/com32/hdt/hdt-cli.c
index 29cc25b2..dad2d408 100644
--- a/com32/hdt/hdt-cli.c
+++ b/com32/hdt/hdt-cli.c
@@ -715,7 +715,6 @@ static void exec_command(char *line, struct s_hardware *hardware)
}
}
-out:
/* Let's not forget to clean ourselves */
if (command != NULL)
free(command);
@@ -781,6 +780,10 @@ void start_auto_mode(struct s_hardware *hardware)
void print_history(int argc, char **argv, struct s_hardware * hardware)
{
+ (void)argc;
+ (void)argv;
+ (void)hardware;
+
reset_more_printf();
for (int i = 1; i <= MAX_HISTORY_SIZE; i++) {
if (i == hdt_cli.history_pos) {