You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/02/08 23:32:31 UTC

[incubator-nuttx-apps] branch master updated: apps/wireless/gs2200m/gs2200m_main.c: Eliminate a warning

This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new d2e1c8a  apps/wireless/gs2200m/gs2200m_main.c:  Eliminate a warning
d2e1c8a is described below

commit d2e1c8a4f3cb5df7702536b13513f886d7cf141d
Author: Gregory Nutt <gn...@nuttx.org>
AuthorDate: Sat Feb 8 15:11:49 2020 -0600

    apps/wireless/gs2200m/gs2200m_main.c:  Eliminate a warning
    
    Eliminate warning:
    
        gs2200m_main.c:  In function 'gs2200m_loop':
        gs2200m_main.c:1416:1:  warning: label 'errout' defined but not used [-Wunused-label]
---
 wireless/gs2200m/gs2200m_main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/wireless/gs2200m/gs2200m_main.c b/wireless/gs2200m/gs2200m_main.c
index 3f87a0b..75cc71f 100644
--- a/wireless/gs2200m/gs2200m_main.c
+++ b/wireless/gs2200m/gs2200m_main.c
@@ -1413,7 +1413,6 @@ static int gs2200m_loop(FAR struct gs2200m_s *priv)
         }
     }
 
-errout:
   close(fd[1]);
   close(fd[0]);