strict aliasing due to wrong cast
Hey all,
This patch removes an unneeded cast, which introduces type-punning.
--- copy.c 25 Jul 2005 15:48:36 -0000 3.20
+++ copy.c 9 Aug 2005 11:58:28 -0000
@@ -418,7 +418,7 @@
/* clearing refs from memory */
for (t = refs; refs; refs = t->next, t = refs)
- safe_free ((void **)&refs);
+ safe_free (&refs);
if (fputc ('\n', out) == EOF)
return (-1);
--
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?"
-- A. P. J.