We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb50852 commit 25d43c6Copy full SHA for 25d43c6
system/gcov/gcov.c
@@ -71,7 +71,7 @@ static void show_usage(FAR const char *progname)
71
72
static void gcov_dump(FAR const char * path, FAR const char *strip)
73
{
74
- if (path == NULL || access(path, F_OK) != 0 || atoi(strip) <= 0)
+ if (path == NULL || access(path, F_OK) != 0 || atoi(strip) < 0)
75
76
fprintf(stderr, "ERROR: Invalid parameter\n");
77
return;
@@ -157,7 +157,7 @@ static void gcov_stdout_dump(void)
157
158
int main(int argc, FAR char *argv[])
159
160
- FAR const char *strip = "99";
+ FAR const char *strip = CONFIG_COVERAGE_DEFAULT_PREFIX_STRIP;
161
FAR const char *path = NULL;
162
int option;
163
0 commit comments