[syslinux:elflink] hello: Delete unused variable 'console_init'
syslinux-bot for Matt Fleming
matt.fleming at intel.com
Tue Apr 17 11:24:18 PDT 2012
Commit-ID: 995c8097f883f44a7c1a79b1d47269c48310f618
Gitweb: http://www.syslinux.org/commit/995c8097f883f44a7c1a79b1d47269c48310f618
Author: Matt Fleming <matt.fleming at intel.com>
AuthorDate: Tue, 3 Apr 2012 14:38:08 +0100
Committer: Matt Fleming <matt.fleming at intel.com>
CommitDate: Tue, 17 Apr 2012 10:58:35 +0100
hello: Delete unused variable 'console_init'
Which also gets rid of the following warning,
hello.c:10:12: warning: ‘console_init’ defined but not used
Signed-off-by: Matt Fleming <matt.fleming at intel.com>
---
core/hello.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/core/hello.c b/core/hello.c
index 45bdf57..5b22478 100644
--- a/core/hello.c
+++ b/core/hello.c
@@ -7,8 +7,6 @@
#include <console.h>
-static int console_init = 0;
-
void myputchar(int c)
{
static com32sys_t ireg;
More information about the Syslinux-commits
mailing list