Skip to content

Commit

Permalink
Make cppcheck master happy
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Jan 7, 2025
1 parent beaa9c5 commit 17d995e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions port/cpl_path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,7 @@ const char *CPLFormFilename(const char *pszPath, const char *pszBasename,
}
else
{
// cppcheck redundantAssignment
pszBasename = pszBasenameOri;
nLenPath = nLenPathOri;
if (pszAddedPathSep[0] == 0)
Expand Down

0 comments on commit 17d995e

Please sign in to comment.