Commit 92554637 authored by Roland Levillain's avatar Roland Levillain
Browse files

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.
parent 79c2e8b0
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.
......
......@@ -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;
......
//
// 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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment