mirror of
https://github.com/curl/curl.git
synced 2026-05-30 11:27:29 +03:00
fix compiler warning: assignment within conditional expression
This commit is contained in:
parent
d0a4b50e19
commit
26aeadbc3e
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ ares_getopt(int nargc, char * const nargv[], const char *ostr)
|
|||
}
|
||||
} /* option letter okay? */
|
||||
if ((optopt = (int)*place++) == (int)':' ||
|
||||
!(oli = strchr(ostr, optopt))) {
|
||||
(oli = strchr(ostr, optopt)) == NULL) {
|
||||
/*
|
||||
* if the user didn't specify '-' as an option,
|
||||
* assume it means EOF.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue