You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/04/19 09:53:20 UTC

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on a diff in pull request #1145: system/critmon: Fix dead code

xiaoxiang781216 commented on code in PR #1145:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1145#discussion_r852837020


##########
system/critmon/critmon.c:
##########
@@ -423,12 +423,7 @@ static int critmon_list_once(void)
 
       fprintf(stderr, "Csection Monitor: Failed to open directory: %s\n",
               CONFIG_SYSTEM_CRITMONITOR_MOUNTPOINT);
-
-      if (++errcount > 100)

Review Comment:
   why is it a dead code?



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org