Skip to content

Fix style in video.c.#1079

Merged
iphydf merged 1 commit into
TokTok:masterfrom
iphydf:video-style
Aug 13, 2018
Merged

Fix style in video.c.#1079
iphydf merged 1 commit into
TokTok:masterfrom
iphydf:video-style

Conversation

@iphydf

@iphydf iphydf commented Aug 12, 2018

Copy link
Copy Markdown
Member
  • Constant-style macros can't be function call expressions. These must be
    function calls themselves.
  • Assignments can't be used as expressions.
    • Therefore: while loops should not be used as a for-each
      construct. Use for, instead.

This change is Reviewable

@iphydf iphydf added this to the v0.2.x milestone Aug 12, 2018
@iphydf iphydf force-pushed the video-style branch 2 times, most recently from 978955d to 1fdaebd Compare August 12, 2018 22:32

@robinlinden robinlinden left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm_strong:

Reviewed 1 of 1 files at r1.
Reviewable status: 0 of 1 approvals obtained

* Constant-style macros can't be function call expressions. These must be
  function calls themselves.
* Assignments can't be used as expressions.
  * Therefore: `while` loops should not be used as a `for-each`
    construct. Use `for`, instead.
@iphydf iphydf merged commit c10d5ce into TokTok:master Aug 13, 2018
@iphydf iphydf deleted the video-style branch August 13, 2018 21:55
@robinlinden robinlinden modified the milestones: v0.2.x, v0.2.6 Aug 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants