Skip to content

Commit

Permalink
Changed unnecessary strNewFmt() to strNew().
Browse files Browse the repository at this point in the history
  • Loading branch information
dwsteele committed Mar 18, 2021
1 parent 73e94a4 commit 6800f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command/archive/get/get.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ archiveGetFind(
{
getCheckResult->errorType = &RepoInvalidError;
getCheckResult->errorFile = strDup(archiveFileRequest);
getCheckResult->errorMessage = strNewFmt(UNABLE_TO_FIND_VALID_REPO_MSG);
getCheckResult->errorMessage = strNew(UNABLE_TO_FIND_VALID_REPO_MSG);
getCheckResult->warnList = strLstMove(fileWarnList, memContextCurrent());
}
MEM_CONTEXT_END();
Expand Down

0 comments on commit 6800f9e

Please sign in to comment.