Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeAi fixes: 2 Dead Code, and 1 Allocator sizeof mismatch #35

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

C0deAi
Copy link

@C0deAi C0deAi commented Apr 25, 2018

CodeAI found 28 defects and fixed 24 in thor. It wants to merge commits fixing 3 of these issues- 2 Dead Code, and 1 Allocator sizeof mismatch.
A screenshot of the results as well as the Dockerfile used to build and run your project in CodeAI can be found here.

If you have any questions about these results or have general inquiries about CodeAI, please send an email to [email protected]

Value stored to 'ret' is never read

Signed-off-by: C0deAi <[email protected]>
Value stored to 'bit_start' is never read

Signed-off-by: C0deAi <[email protected]>
Result of 'malloc' is converted to a pointer of type 'int', which is
incompatible with sizeof operand type 'cost_t'

Signed-off-by: C0deAi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant