[syslinux:pathbased] hdt-cli.c: clean up unused warnings
syslinux-bot for H. Peter Anvin
hpa at linux.intel.com
Wed May 12 16:12:17 PDT 2010
Commit-ID: 8f1d81dd38e7cd49b686a9fd16d056fdd818b687
Gitweb: http://syslinux.zytor.com/commit/8f1d81dd38e7cd49b686a9fd16d056fdd818b687
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Wed, 12 May 2010 16:01:54 -0700
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Wed, 12 May 2010 16:01:54 -0700
hdt-cli.c: clean up unused warnings
-Werror cleanup.
Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>
---
com32/hdt/hdt-cli.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/com32/hdt/hdt-cli.c b/com32/hdt/hdt-cli.c
index 29cc25b..dad2d40 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) {
More information about the Syslinux-commits
mailing list