summaryrefslogtreecommitdiffhomepage
path: root/mixlib/mix_vm_command.c
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2006-03-24 21:11:56 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2006-03-24 21:11:56 +0000
commit562509761efc1dc4361d13e4f95e093f80b533da (patch)
treeb320cee1a0e41d6cebec8dd58b26b5b899846d20 /mixlib/mix_vm_command.c
parentdc51780d422ace7a5689603ffb871b677e084612 (diff)
downloadmdk-562509761efc1dc4361d13e4f95e093f80b533da.tar.gz
mdk-562509761efc1dc4361d13e4f95e093f80b533da.tar.bz2
Compilation warnings fixed.
git-archimport-id: mdk@sv.gnu.org/mdk--devel--1--patch-5
Diffstat (limited to 'mixlib/mix_vm_command.c')
-rw-r--r--mixlib/mix_vm_command.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mixlib/mix_vm_command.c b/mixlib/mix_vm_command.c
index 350dae5..a038e40 100644
--- a/mixlib/mix_vm_command.c
+++ b/mixlib/mix_vm_command.c
@@ -3,7 +3,7 @@
* ------------------------------------------------------------------
* $Id: mix_vm_command.c,v 1.30 2005/09/20 19:43:13 jao Exp $
* ------------------------------------------------------------------
- * Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+ * Copyright (C) 2001, 2002, 2004, 2006 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -155,7 +155,9 @@ mix_vm_cmd_dispatcher_new_with_config (FILE *out, FILE *err,
mix_vm_cmd_dispatcher_t *result = mix_vm_cmd_dispatcher_new (out, err);
if (result != NULL && (result->config = config) != NULL)
{
+#ifdef HAVE_LIBHISTORY
gint hsize = 0;
+#endif
const gchar *val = mix_config_get (result->config, TRACING_KEY_);
if (val) cmd_strace_ (result, val);
val = mix_config_get (result->config, EDITOR_KEY_);
@@ -219,7 +221,9 @@ del_hook_list_ (GSList *s)
void
mix_vm_cmd_dispatcher_delete (mix_vm_cmd_dispatcher_t *dis)
{
+#ifdef HAVE_LIBHISTORY
const gchar *hfile = NULL;
+#endif
gint k;
g_return_if_fail (dis != NULL);