diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-03-30 21:49:51 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-04-28 20:46:49 +0200 |
commit | f9b59dd8e5586862cd3c2fa53901ee2e90226a3c (patch) | |
tree | 7d4e75e4d8ca74619eb10dd645f2a050c1852d36 /gcc | |
parent | e543d9d2cf597773556ce0db2594335444eec304 (diff) | |
download | gcc-f9b59dd8e5586862cd3c2fa53901ee2e90226a3c.zip gcc-f9b59dd8e5586862cd3c2fa53901ee2e90226a3c.tar.gz gcc-f9b59dd8e5586862cd3c2fa53901ee2e90226a3c.tar.bz2 |
gcov: Use xstrdup()
Move duplication of filename to caller and use xstrdup() instead of custom
code. This helps to reuse read_gcda_file() for other purposes.
libgcc/
* libgcov-util.c (read_gcda_file): Do not duplicate filename.
(ftw_read_file): Duplicate filename for read_gcda_file().
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions