mirror of
https://github.com/curl/curl.git
synced 2026-08-25 21:03:34 +03:00
Fixed some compiler warnings with gcc
This commit is contained in:
parent
91bc396178
commit
88513d2d1a
7 changed files with 15 additions and 13 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue