sysprof r425 - branches/ftrace-branch



Author: ssp
Date: Mon May 19 07:04:27 2008
New Revision: 425
URL: http://svn.gnome.org/viewvc/sysprof?rev=425&view=rev

Log:
Mon May 19 03:00:15 2008  SÃren Sandmann  <sandmann redhat com>

	* collector.c (on_read): Remove memset()




Modified:
   branches/ftrace-branch/ChangeLog
   branches/ftrace-branch/collector.c

Modified: branches/ftrace-branch/collector.c
==============================================================================
--- branches/ftrace-branch/collector.c	(original)
+++ branches/ftrace-branch/collector.c	Mon May 19 07:04:27 2008
@@ -485,8 +485,6 @@
     char input [N_ENTRIES * ENTRY_SIZE];
     int n_bytes;
 
-    memset (input, '1', sizeof input);
-
     while ((n_bytes = read (collector->fd, input, sizeof (input))) > 0)
     {
 	g_assert (data == collector);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]