summaryrefslogtreecommitdiff
path: root/src/helper/configuration.c
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-25 20:18:26 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-25 20:18:26 +0000
commit5279d519f8e98d6a134e77b54669512f618672bd (patch)
treeba6da87ea129be1f77ad0f07a33d88b2ab544498 /src/helper/configuration.c
parent3d6bcf07921753141a3905ee5619724573460cb3 (diff)
downloadopenocd+libswd-5279d519f8e98d6a134e77b54669512f618672bd.tar.gz
openocd+libswd-5279d519f8e98d6a134e77b54669512f618672bd.tar.bz2
openocd+libswd-5279d519f8e98d6a134e77b54669512f618672bd.tar.xz
openocd+libswd-5279d519f8e98d6a134e77b54669512f618672bd.zip
- remove build warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@348 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/configuration.c')
-rw-r--r--src/helper/configuration.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/helper/configuration.c b/src/helper/configuration.c
index 9b9c1816..abbcbfcb 100644
--- a/src/helper/configuration.c
+++ b/src/helper/configuration.c
@@ -36,7 +36,6 @@ static char** config_file_names;
static size_t num_script_dirs;
static char** script_search_dirs;
-
void add_script_search_dir (const char *dir)
{
num_script_dirs++;
@@ -87,7 +86,6 @@ FILE *open_file_from_path (command_context_t *cmd_ctx, char *file, char *mode)
int parse_config_file(struct command_context_s *cmd_ctx)
{
char **cfg;
- FILE *config_file;
if (!config_file_names)
add_config_file_name ("script openocd.cfg");