Unverified Commit e9f8a6a9 authored by Mark Lindner's avatar Mark Lindner Committed by GitHub

Merge pull request #205 from payano/master

Make sure function arguments are used
parents 77d5bf5a 4ae3d463
......@@ -33,6 +33,9 @@ using namespace libconfig;
int main(int argc, char **argv)
{
(void)argc;
(void)argv;
Config cfg;
// Read the file. If there is an error, report it and exit.
......
......@@ -34,6 +34,9 @@ using namespace libconfig;
int main(int argc, char **argv)
{
(void)argc;
(void)argv;
static const char *output_file = "updated.cfg";
Config cfg;
......
......@@ -33,6 +33,9 @@ using namespace libconfig;
int main(int argc, char **argv)
{
(void)argc;
(void)argv;
static const char *output_file = "newconfig.cfg";
Config cfg;
......
......@@ -33,6 +33,9 @@ using namespace libconfig;
int main(int argc, char **argv)
{
(void)argc;
(void)argv;
Config cfg;
try
......
......@@ -42,6 +42,7 @@ static const char **__include_func(config_t *config,
const char *path,
const char **error)
{
(void)include_dir;
Config *self = reinterpret_cast<Config *>(config_get_hook(config));
return(self->evaluateIncludePath(path, error));
}
......
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