anchao commented on code in PR #14945:
URL: https://github.com/apache/nuttx/pull/14945#discussion_r1857714126
##########
libs/libbuiltin/libgcc/gcov.c:
##########
@@ -185,8 +185,8 @@ static int gcov_process_path(FAR char *prefix, int strip,
FAR char *path, FAR char *new_path,
size_t len)
{
+ FAR char *filename = NULL;
Review Comment:
I think we should handle "filename == NULL" not initialize to NULL, right?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]