mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 18:20:12 +08:00
* breakpoint.c, buildsym.c, c-exp.y, coffread.c, command.c,
core.c, cplus-dem.c, dbxread.c, dwarfread.c, elfread.c, environ.c, eval.c, findvar.c, gdbtypes.c, hppabsd-tdep.c, hppahpux-tdep.c, i386-tdep.c, ieee-float.c, infcmd.c, inflow.c, infptrace.c, infrun.c, m2-exp.y, mipsread.c, objfiles.c, parse.c, procfs.c, putenv.c, remote-mm.c, remote-vx.c, solib.c, sparc-tdep.c, sparc-xdep.c, stack.c, symfile.c, symtab.c, symtab.h, target.c, tm-i386v.h, tm-sparc.h, utils.c, valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Remove "(void)" casts from function calls where the return value is ignored, in accordance with GNU coding standards.
This commit is contained in:
@ -508,7 +508,7 @@ init_malloc (md)
|
||||
warning ("internal error: failed to install memory consistency checks");
|
||||
}
|
||||
|
||||
(void) mmtrace ();
|
||||
mmtrace ();
|
||||
}
|
||||
|
||||
#endif /* Have mmalloc and want corruption checking */
|
||||
@ -634,7 +634,7 @@ savestring (ptr, size)
|
||||
int size;
|
||||
{
|
||||
register char *p = (char *) xmalloc (size + 1);
|
||||
(void) memcpy (p, ptr, size);
|
||||
memcpy (p, ptr, size);
|
||||
p[size] = 0;
|
||||
return p;
|
||||
}
|
||||
@ -646,7 +646,7 @@ msavestring (md, ptr, size)
|
||||
int size;
|
||||
{
|
||||
register char *p = (char *) xmmalloc (md, size + 1);
|
||||
(void) memcpy (p, ptr, size);
|
||||
memcpy (p, ptr, size);
|
||||
p[size] = 0;
|
||||
return p;
|
||||
}
|
||||
@ -1205,7 +1205,7 @@ vfprintf_filtered (stream, format, args)
|
||||
|
||||
/* This won't blow up if the restrictions described above are
|
||||
followed. */
|
||||
(void) vsprintf (linebuffer, format, args);
|
||||
vsprintf (linebuffer, format, args);
|
||||
|
||||
fputs_filtered (linebuffer, stream);
|
||||
}
|
||||
|
Reference in New Issue
Block a user