Skip to content

Commit

Permalink
fix clang-tidy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rfomin committed Dec 13, 2024
1 parent c6c65f9 commit a320f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/u_mapinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ static void FreeMap(mapentry_t *mape)
{
free(mape->author);
}
mape->mapname = NULL;
memset(mape, 0, sizeof(*mape));
}

static void ReplaceString(char **pptr, const char *newstring)
Expand Down

0 comments on commit a320f7a

Please sign in to comment.