patacongo commented on a change in pull request #2: Master pr nxstyle
improvments
URL: https://github.com/apache/incubator-nuttx/pull/2#discussion_r360725490
##########
File path: tools/nxstyle.c
##########
@@ -477,7 +543,7 @@ int main(int argc, char **argv, char **envp)
(strcmp(line, " * Private Functions\n") == 0 ||
strcmp(line, " * Public Functions\n") == 0))
{
- //fprintf(stderr, "Functions begin at line %d:%d\n", lineno, n);
+ //ERROR("Functions begin", lineno, n);
bfunctions = true;
Review comment:
Same as above: Remove or use #if 0 with comment. No C++ // comments. I
see the origin code had // too. My bad, but let's fix it.
By there way, this is not an error. If just means that the tool found where
function data begins following all of the data and type declarations.
----------------------------------------------------------------
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