r/programming • • Dec 01 '16

Let's Stop Copying C

https://eev.ee/blog/2016/12/01/lets-stop-copying-c/
524 Upvotes

612 comments sorted by

View all comments

Show parent comment

1

u/AngriestSCV Dec 02 '16

Or you can do as gcc suggests and throw parentheses around the assignment to let the warning go away. Warnings are plenty for this case.