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 dfbaedd commit 92c4905Copy full SHA for 92c4905
system/gcov/gcov.c
@@ -63,7 +63,6 @@ int main(int argc, FAR char *argv[])
63
{
64
FAR const char *strip = CONFIG_COVERAGE_DEFAULT_PREFIX_STRIP;
65
FAR const char *path = NULL;
66
- bool onefile = false;
67
int option;
68
69
while ((option = getopt(argc, argv, "d::t:orh")) != ERROR)
@@ -91,20 +90,6 @@ int main(int argc, FAR char *argv[])
91
90
}
92
93
94
- if (access(path, F_OK) == 0)
95
- {
96
- onefile = true;
97
- }
98
-
99
- if (onefile)
100
101
- setenv("GCOV_DUMP_ONEFILE", "1", 1);
102
103
- else
104
105
- setenv("GCOV_DUMP_ONEFILE", "0", 1);
106
107
108
setenv("GCOV_PREFIX_STRIP", strip, 1);
109
setenv("GCOV_PREFIX", path, 1);
110
__gcov_dump();
0 commit comments