
* src/shell/shell.cc (shell::shell_completer) * src/task/task.cc (task::Task::set_value): Hide used arguments. --- ChangeLog | 8 ++++++++ src/shell/shell.cc | 2 +- src/task/task.cc | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index ab92228..a8e9c74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2009-11-10 Roland Levillain <roland@lrde.epita.fr> + Get rid of warnings about unused arguments. + + * src/shell/shell.cc (shell::shell_completer) + * src/task/task.cc (task::Task::set_value): + Hide used arguments. + +2009-11-10 Roland Levillain <roland@lrde.epita.fr> + Distribute gnulib.modules. * Makefile.am (EXTRA_DIST): Add gnulib.modules. diff --git a/src/shell/shell.cc b/src/shell/shell.cc index 3347b2a..dcd9a90 100644 --- a/src/shell/shell.cc +++ b/src/shell/shell.cc @@ -74,7 +74,7 @@ namespace shell } static char ** - shell_completer(const char *text, int start, int end) + shell_completer(const char *text, int /* start */, int end) { // if (rl_line_buffer[rl_point] && !isblank(rl_line_buffer[rl_point])) // return 0; diff --git a/src/task/task.cc b/src/task/task.cc index 5a08e2c..2822f09 100644 --- a/src/task/task.cc +++ b/src/task/task.cc @@ -1,6 +1,6 @@ // // This file is part of Nolimips, a MIPS simulator with unlimited registers -// Copyright (C) 2003, 2004, 2006 Benoit Perrot <benoit@lrde.epita.fr> +// Copyright (C) 2003, 2004, 2006, 2009 Benoit Perrot <benoit@lrde.epita.fr> // // Nolimips is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -66,7 +66,7 @@ namespace task } bool - Task::set_value(const std::string &value) const + Task::set_value(const std::string & /*value */) const { // Default: fail return false; -- 1.6.5