summaryrefslogtreecommitdiffstats
path: root/common/environment.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:59 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:59 +0200
commit156c1f453137db22408a57a4c9e1ec8b92eab751 (patch)
treee11918a6081a3d7e559a31b643b3871f219767f2 /common/environment.c
parentac108b63600760f6257a0316e9cf1a15175adfb2 (diff)
downloadbarebox-156c1f453137db22408a57a4c9e1ec8b92eab751.tar.gz
barebox-156c1f453137db22408a57a4c9e1ec8b92eab751.tar.xz
svn_rev_499
fix compiler warning
Diffstat (limited to 'common/environment.c')
-rw-r--r--common/environment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/environment.c b/common/environment.c
index 416eb060d9..148b6e9d6e 100644
--- a/common/environment.c
+++ b/common/environment.c
@@ -116,7 +116,7 @@ int do_saveenv(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return ret;
}
-static char cmd_saveenv_help[] =
+static __maybe_unused char cmd_saveenv_help[] =
"Usage: saveenv [DIRECTORY] [ENVFS]\n"
"Save the files in <directory> to the persistent storage device <envfs>.\n"
"<envfs> is normally a block in flash, but could be any other file.\n"
@@ -220,7 +220,7 @@ int do_loadenv(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return envfs_load(filename, dirname);
}
-static char cmd_loadenv_help[] =
+static __maybe_unused char cmd_loadenv_help[] =
"Usage: loadenv [DIRECTORY] [ENVFS]\n"
"Load the persistent storage contained in <envfs> to the directory\n"
"<directory>.\n"