not print log if no mock functions

This commit is contained in:
2023-10-22 21:16:50 +02:00
parent fe7b10926c
commit 199d55639a
2 changed files with 1 additions and 0 deletions
+1
View File
@@ -188,6 +188,7 @@ __attribute__((destructor))
//for(int i=0; i< Dk_NOTHING;++i) strcpy(colors_f[i]," ");
//}
if(only_usage) return; /* do nothing */
if(g_list_base_fmock == NULL) return; /* do nothing because no mock functions */
struct winsize w;
ioctl(1, TIOCGWINSZ, &w);