value in result is not used

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c

Research direction

Open source/dlmalloc.c around lines 5399-5401 and inspect how the result value is used. Choose between removing lines 5399-5400 or handling zero as a special case on line 5401, then verify that the unused-value issue is resolved without changing other allocator behavior.

Written by the indexing model from the issue text.

Description

https://github.com/ARMmbed/dlmalloc/blob/8a73d769483b2f87f74f4f441245f98d5d8860d3/source/dlmalloc.c#L5400

Either remove lines 5399-5400 or add "else" on line 5401 to have (0) as a special case.

Dominant language
C
Stars
38
Forks
17
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ARMmbed/dlmalloc

All issues in ARMmbed/dlmalloc

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.