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

Fix style in video.c. #1079

Merged
merged 1 commit into from
Aug 13, 2018
Merged

Fix style in video.c. #1079

merged 1 commit into from
Aug 13, 2018

Conversation

iphydf
Copy link
Member

@iphydf iphydf commented Aug 12, 2018

  • 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
Copy link
Member

@robinlinden robinlinden left a comment

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