* fileio.c:

* main.c:
    * ppiwin.c:
    * ser_posix.c:
    * stk500.c:
    Minor code cleanup to remove warnings.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@346 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Eric Weddington
2003-08-25 15:55:48 +00:00
parent e603e71c45
commit c19d7efe7a
6 changed files with 21 additions and 6 deletions

View File

@@ -334,7 +334,7 @@ static void update_progress_tty (int percent, double etime, char *hdr)
{
static char hashes[51];
static char *header;
static last = 0;
static int last = 0;
int i;
hashes[50] = 0;
@@ -745,7 +745,6 @@ int main(int argc, char * argv [])
int cycles; /* erase-rewrite cycles */
int set_cycles; /* value to set the erase-rewrite cycles to */
char * e; /* for strtol() error checking */
char * homedir;
int quell_progress;
progname = rindex(argv[0],'/');
@@ -797,6 +796,7 @@ int main(int argc, char * argv [])
win_usr_config_set(usr_config);
#else
char * homedir;
strcpy(sys_config, CONFIG_DIR);
i = strlen(sys_config);