Removed useless memset.
* sysinfo.c: (init_sysinfo): Removed useless memset.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2004-07-03 Benoît Dejean <tazforever@dlfp.org>
|
||||||
|
|
||||||
|
* sysinfo.c: (init_sysinfo): Removed useless memset.
|
||||||
|
|
||||||
2004-07-03 Benoît Dejean <tazforever@dlfp.org>
|
2004-07-03 Benoît Dejean <tazforever@dlfp.org>
|
||||||
|
|
||||||
* glibtop_server.h:
|
* glibtop_server.h:
|
||||||
|
@@ -42,8 +42,6 @@ init_sysinfo (glibtop *server)
|
|||||||
|
|
||||||
glibtop_init_s (&server, GLIBTOP_SYSDEPS_CPU, 0);
|
glibtop_init_s (&server, GLIBTOP_SYSDEPS_CPU, 0);
|
||||||
|
|
||||||
memset (&sysinfo, 0, sizeof (glibtop_sysinfo));
|
|
||||||
|
|
||||||
file_to_buffer(server, buffer, FILENAME);
|
file_to_buffer(server, buffer, FILENAME);
|
||||||
|
|
||||||
/* cpuinfo records are seperated by a blank line */
|
/* cpuinfo records are seperated by a blank line */
|
||||||
|
Reference in New Issue
Block a user