| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Fix scan-build warnings, no globals, no silly handle scan. Also remove
handles from the multi before cleaning up.
|
|
|
|
| |
Closes #2948
|
|
|
|
|
|
|
|
|
| |
When size_t is not a typedef for unsigned long (as usually the case on
Windows), GCC emits -Wformat warnings when using lu and lx format
specifiers with size_t. Silence them with explicit casts to
unsigned long.
Closes https://github.com/curl/curl/pull/2721
|
|
|
|
| |
Closes #2561
|
|
|
|
|
| |
http2-upload.c:135:44: error: ā%02dā directive output may be truncated
writing between 2 and 11 bytes into a region of size between 8 and 17
|
| |
|
| |
|
|
|
|
| |
This is contained in -Wextra with GCC 7.
|
|
|
|
|
| |
This fixes missing-variable-declarations warnings when building with
clang.
|
| |
|
|
|
|
| |
In order to make the code style more uniform everywhere
|
|
|
|
|
|
|
|
|
|
| |
All plain C examples now (mostly) adhere to the curl code style. While
they are only examples, they had diverted so much and contained all
sorts of different mixed code styles by now. Having them use a unified
style helps users and readability. Also, as they get copy-and-pasted
widely by users, making sure they're clean and nice is a good idea.
573 checksrc warnings were addressed.
|
| |
|
|
|
|
|
|
|
|
| |
pop3-multi.c:96:5: warning: implicit declaration of function 'memset'
imap-multi.c:96:5: warning: implicit declaration of function 'memset'
http2-download.c:226:5: warning: implicit declaration of function 'memset'
http2-upload.c:290:5: warning: implicit declaration of function 'memset'
http2-upload.c:290:5: warning: implicit declaration of function 'memset'
|
| |
|
| |
|
| |
|
|
|