Removed useless memset.

* sysinfo.c: (init_sysinfo): Removed useless memset.
This commit is contained in:
Benoît Dejean
2004-07-03 15:17:29 +00:00
parent b55ecd65bc
commit 24073c48c5
2 changed files with 4 additions and 2 deletions

View File

@@ -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>
* glibtop_server.h:

View File

@@ -42,8 +42,6 @@ init_sysinfo (glibtop *server)
glibtop_init_s (&server, GLIBTOP_SYSDEPS_CPU, 0);
memset (&sysinfo, 0, sizeof (glibtop_sysinfo));
file_to_buffer(server, buffer, FILENAME);
/* cpuinfo records are seperated by a blank line */