-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
-
Implicit casting
uint8_t *tochar *.
Here is an example, but there are more places where this is done.
i8_ret = cognit_http_send(ui8_payload, payload_len, &t_http_config);
You can use-Wpointer-signcompilation flag -
Function was supposed to be called, but no arguments (
-Waddress):
Here:
if (!is_token_empty)
and here:
if (is_requirement_upload_limit_reached) -
constqualifier is discarded in a few places (-Wdiscarded-qualifiers) -
Value may be used uninitialized (
-Wmaybe-uninitialized)
return (res == CURLE_OK) ? 0 : -1;
but there is also somepayload_lenuninitialized.
In general, I would suggest compiling with more warnings (-Wall) and at least reading through all of them, as there may be some more issues then the ones I have listed here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels