[sysprof/ftrace: 5/16] Remove memset()



commit e4233512be9cc6e4f9bc9124c8c4b4de4732c776
Author: Søren Sandmann <sandmann redhat com>
Date:   Mon May 19 07:04:27 2008 +0000

    Remove memset()

 collector.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/collector.c b/collector.c
index 76a5799..ea9662b 100644
--- a/collector.c
+++ b/collector.c
@@ -485,8 +485,6 @@ on_read (gpointer data)
     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]