Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • xserver xserver
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 934
    • Issues 934
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 100
    • Merge requests 100
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorg
  • xserverxserver
  • Merge requests
  • !206

Merged
Created May 26, 2019 by Roman Gilg@romanggContributor

present: Target-msc calculation code cleanup

  • Overview 17
  • Commits 5
  • Pipelines 9
  • Changes 4

For better readability this patch improves the code style. No functional changes should be the result. In detail:

  • Rename functions and variable to give them more meaning and keep them consistent.
  • Unfold and extensively annotate the target-msc adjustment function, to make it easier to understand what's happening and why.
  • Hand over scalar values as arguments instead of pointers when possible.
  • Change arguments and return values of functions to improve inner and outer semantic of the function.

Signed-off-by: Roman Gilg subdiff@gmail.com

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: cleanupTargetMscCalc