Fixed some compiler warnings with gcc

This commit is contained in:
Dan Fandrich 2008-10-01 17:34:24 +00:00
parent 91bc396178
commit 88513d2d1a
7 changed files with 15 additions and 13 deletions

View file

@ -235,7 +235,7 @@ int write_pidfile(const char *filename)
void set_advisor_read_lock(const char *filename)
{
FILE *lockfile;
int error;
int error = 0;
int res;
do {
@ -257,7 +257,7 @@ void set_advisor_read_lock(const char *filename)
void clear_advisor_read_lock(const char *filename)
{
int error;
int error = 0;
int res;
do {