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:
parent
6697603162
commit
aa4052936c
@ -598,7 +598,6 @@ int main(int argc, char **argv, char **envp)
|
|||||||
|
|
||||||
if (ext == 0)
|
if (ext == 0)
|
||||||
{
|
{
|
||||||
INFOFL("No file extension", g_file_name);
|
|
||||||
}
|
}
|
||||||
else if (strcmp(ext, ".h") == 0)
|
else if (strcmp(ext, ".h") == 0)
|
||||||
{
|
{
|
||||||
@ -611,7 +610,6 @@ int main(int argc, char **argv, char **envp)
|
|||||||
|
|
||||||
if (g_file_type == UNKNOWN)
|
if (g_file_type == UNKNOWN)
|
||||||
{
|
{
|
||||||
INFOFL("Unknown file extension", g_file_name);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user