mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
tools/nxstyle: clean up the no and unknown file extension info
Clean up the no and unknown file extension info since only .h and .c files supported. Just ignore them quietly. Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
This commit is contained in:
@@ -598,7 +598,6 @@ int main(int argc, char **argv, char **envp)
|
||||
|
||||
if (ext == 0)
|
||||
{
|
||||
INFOFL("No file extension", g_file_name);
|
||||
}
|
||||
else if (strcmp(ext, ".h") == 0)
|
||||
{
|
||||
@@ -611,7 +610,6 @@ int main(int argc, char **argv, char **envp)
|
||||
|
||||
if (g_file_type == UNKNOWN)
|
||||
{
|
||||
INFOFL("Unknown file extension", g_file_name);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user