patacongo commented on issue #540: possible nxstyle false alarm: "Missing space before closing C comment" URL: https://github.com/apache/incubator-nuttx/issues/540#issuecomment-597674609 A slightly more credible example: draw_rectangle(y2 - y1 + 1, /* Height */ x2 - x1 + 1, /* Width */ (y2 -y1 + 1) * /* Area */ (x2 - x1 + 1)); In mathematical logic, sometimes the arguments can be relatively complex expressions mat not be intuitive and should be commented. In the above case, I would probably use local variables to hold at least the height and width, but others do things differently. You get the general idea.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
